Filter Times in a dataset.
Arguments
- dataset
A light logger dataset. Expects a
dataframe. If not imported by LightLogR, take care to choose a sensible variable for theDatetime.colname.- Datetime.colname
column name that contains the datetime. Defaults to
"Datetime"which is automatically correct for data imported with LightLogR. Expects asymbol. Needs to be part of thedataset. Must be of typePOSIXct.- start, end, length
a
characterscalar in the form of"hh-mm-ss"giving the respective start, end, or length for the filtered dataframe. The input can also come from aPOSIXctdatetime, where only the time component will be used.If one or both of start/end are not provided, the times will be taken from the respective extreme values of the
dataset.If
lengthis provided and one of start/end is not, the other will be calculated based on the given value.If
lengthis provided and both of start/end are not, the time from the respective start is taken.
See also
Other filter:
filter_Datetime()
