Description Usage Arguments Value Examples
For date values that are tomorrow, today or yesterday compared to present day
returns representing string. Otherwise, returns a string formatted according
to fmt
1 | natural_day(value, fmt = "%b %d")
|
value |
A date value |
fmt |
Optional formatting string for dates not yesterday, today, tomorrow |
A nicely formatted date
1 2 | natural_day(Sys.Date())
natural_day(Sys.Date()-10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.