Description Usage Arguments Examples
Convert event endpoints to date-times
1 | to_datetime(e, tz = "UTC", origin = as.POSIXct("1970-01-01", tz = "UTC"))
|
e |
Event table or atomic vector. |
tz |
Time zone (see |
origin |
Date-time object (see |
1 2 3 4 | t <- as.POSIXct("1970-01-01", tz = "UTC") + 0:4
e <- events(t)
to_datetime(e)
to_datetime(e$from)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.