| time_to_model | R Documentation |
Converts numeric, Date, or POSIXct/POSIXt time to numeric model time under a compiled time spec.
time_to_model(x, time_spec)
x |
A numeric vector, Date, or POSIXct/POSIXt vector of times. |
time_spec |
A compiled time spec from time_spec(unit = ...). |
Numeric model time in units of time_spec$unit.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.