Description Usage Arguments Examples
Minimum Time Step in Sequence of Timestamps
1 | minTimeStep(tstamps, dbg = FALSE)
|
tstamps |
vector of POSIX-type timestamps or any other vector that can be converted to integer |
dbg |
should debug messages be shown? |
1 2 3 4 5 6 | tstamps <- seq(as.POSIXct("2017-11-03"), as.POSIXct("2017-11-04"), 3600)
minTimeStep(tstamps)
# No need for timestamps!
minTimeStep(c(10, 20, 30, 40, 45, 50, 60))
minTimeStep(c(10, 20, 30, 40, 45, 50, 60), dbg = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.