time_clip | R Documentation |
The function clips a time vector based on provided limits.
time_clip(time, limits)
time |
|
limits |
|
POSIXct
vector, clipped time vector.
Michael Dietze
## load example data
data(rockfall)
## define limits to clip to
limits <- c(min(rockfall_t) + 10,
max(rockfall_t) - 10)
## clip data set
rockfall_t_clip <- time_clip(time = rockfall_t,
limits = limits)
## compare time ranges
range(rockfall_t)
range(rockfall_t_clip)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.