to_date | R Documentation |
Convert event endpoints to dates
to_date(e, origin = as.Date("1970-01-01"))
e |
Event table or atomic vector. |
origin |
Date object (see |
t <- as.Date("1970-01-01") + 0:4
e <- events(t)
to_date(e)
to_date(e$from)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.