View source: R/gen_helper-functions.R
timeOfDay | R Documentation |
Calculate the time of day as day, twilight, buffer
timeOfDay(time, sunrise, sunset, buffer, tz = "UTC")
time |
a character vector of times (formatted to be from parmeta) |
sunrise |
in UVP timezone (typically UTC) |
sunset |
sunset |
buffer |
range around sunset/sunrise to assign as twilight in hours |
tz |
timezone |
Alex Barth
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.