| as_mixtime | R Documentation |
Coerces a time object (e.g. Date, POSIXct, yearmonth) to a mixtime
vector using vctrs::vec_cast(). The chronon and cycle are inferred from
x via time_chronon() and time_cycle().
as_mixtime(x, ...)
x |
A time value to convert to a |
... |
Additional arguments passed to the underlying |
A mixtime object corresponding to x.
mixtime() for constructing a mixtime directly from data,
is_mixtime() for testing if an object is a mixtime.
as_mixtime(Sys.Date())
as_mixtime(Sys.time())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.