diff_time | R Documentation |
Compute difftime on a vector in user specified units
diff_time(x, units = c("secs", "mins", "hours", "days")[1])
x |
POSIXct time vector |
units |
character, one of "secs" (default), "mins", "hours", "days" |
difftime
object with specified units
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.