Description Usage Arguments Examples
This function acts like a floor function execpt for time.
1 | timeFloor(timeValue, timeIntervalValue = 15, timeIntervalUnits = "minutes")
|
timeValue |
typically a column of time Values to take the floor function |
timeIntervalValue |
the value of the time interval |
timeIntervalUnits |
the units of the time interval |
1 2 3 4 | library(EmissionsHelper)
mytime <- reformatTime(c("2018-1-1 12:01", "2018-1-1 12:02",
"2018-1-1 12:16", "2018-1-1 12:17"))
timeFloor(mytime, 15, "minutes")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.