to_datetime {linbin} | R Documentation |
Convert event endpoints to date-times
Description
Convert event endpoints to date-times
Usage
to_datetime(e, tz = "UTC", origin = as.POSIXct("1970-01-01", tz = "UTC"))
Arguments
e |
Event table or atomic vector. |
tz |
Time zone (see |
origin |
Date-time object (see |
Examples
t <- as.POSIXct("1970-01-01", tz = "UTC") + 0:4
e <- events(t)
to_datetime(e)
to_datetime(e$from)
[Package linbin version 0.1.3 Index]