Description Usage Arguments Examples
Given a datetime or a number of seconds, return a natural representation of that resolution that makes sense. Ago/From now determined by positive or negative values.
1 | natural_time(value, use_months = TRUE)
|
value |
a datetime or a number of seconds |
use_months |
Boolean whether we should (imprecisely) use months as a unit |
1 2 | natural_time(Sys.time()-1)
natural_time(Sys.time()-100)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.