Description Usage Arguments Value Note
View source: R/create_all_intervals.R
Creates all the times for a certain interval
1 2 3 | create_all_intervals(times, interval = 1, interval_unit = "mins")
create_all_intervals_df(...)
|
times |
Vector of times, usually POSIXct or other date format |
interval |
The interval to space out the times |
interval_unit |
the unit for the intervals |
... |
not used. |
A vector of times from minimum to the maximum (including some potential roundup)
The additional create_all_intervals_df
function is
to simply put this vector into a data.frame
in a column called
time
and a logical called grid
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.