Description Usage Arguments Examples
Different validation checks for sequence of timestamps
1 2 3 4 5 | isValidTimestampSequence(
timestamps,
checks = c("sorted", "duplicates", "timestep"),
dbg = FALSE
)
|
timestamps |
vector of timestamps of class POSIXt |
checks |
Vector of character indicating the checks to be performed. Available checks: "sorted", "duplicates", "timestep". Default: perform all tests |
dbg |
shall debug messages be shown? |
1 2 3 4 5 | timestamps <- sequenceOfTimestamps("2017-11-03", "2017-11-04", 3600)
times <- as.POSIXct(timestamps)
isValidTimestampSequence(times)
isValidTimestampSequence(rev(times))
isValidTimestampSequence(timestamps = c(times[1], times))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.