Description Usage Arguments Examples
format origin period vector
1 | format_origin_vec(x, eval, sep = " to ")
|
x |
a vector of dates. Each date indicates the first day of the origin period |
eval |
Most recent evaluation time. This will be used as the second
date in the last element in the vector |
sep |
character string to place between dates |
1 2 3 4 | x <- c("2014-01-01", "2015-01-01", "2016-01-01")
format_origin_vec(x, eval = "2015-03-31")
format_origin_vec(x, eval = "2015-03-31", sep = " - ")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.