Outputs a nice date for inline inclusion (wrapper for strftime)
1 | pretty_date(x, format = c("mdy", "dmy", "ymd"), abbreviate = FALSE, ...)
|
x |
vector of POSIX objects (or something that can be coerced that way) |
format |
character with "m", "d", and "y", in the order you want them. |
abbreviate |
boolean, whether to abbreviate the day. |
... |
additional arguments passed to format |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.