selectTime | R Documentation |
Given a RANADU-convention data.frame or tibble, this function returns a subset in a specified range of times.
selectTime(.d, StartTime, EndTime)
.d |
A data.frame or tibble that follows RANADU conventions. It should contain a POSIXCT-format variable named "Time". |
StartTime |
An initial time in HHMMSS format (e.g., 124500). The default is 0. |
EndTime |
An ending time in HHMMSS format. Default = 400000. |
The function uses the routine setRange but, instead of returning a set of indices to use when subsetting the data.frame, it returns a new subsetted data.frame. This is suitable for use in pipes like D
A subset tibble or data.frame restricted to the specified time range. Limits are inclusive.
William Cooper
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.