Description Usage Arguments Value Author(s) Examples
rptDate.yearrpt
1 | rptDate.nearest(datelist, freq = c("q", "y", "h"), dir = -1L)
|
datelist |
a vector of date , with class Date. |
a vector of yearly rptDate.
Ruifei.Yin
1 2 | rptDate.nearest(as.Date(c("2015-01-11","2016-06-21","2016-12-31")),"q",1)
rptDate.nearest(as.Date(c("2015-01-11","2016-06-21","2016-12-31")),"y",-1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.