Description Usage Arguments Value Examples
Dates Index Functions
last calendar day of period date.end('2014-01-13')
index of dates apart by a given n one.year = date.ends.n(prices, 365)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | date.week.ends(dates, last.date = T)
date.month.ends(dates, last.date = T)
date.quarter.ends(dates, last.date = T)
date.semiannual.ends(dates, last.date = T)
date.year.ends(dates, last.date = T)
date.end(date = Sys.Date(), periodicity = "months",
date.format = "%Y-%m-%d")
date.ends.n(dates, n, start = 1, less = T, silent = T)
|
dates |
collection of dates |
last.date |
flag to include last date, defaults to TRUE |
location of the week/month/year ends
1 2 3 4 | ## Not run:
date.week.ends(seq(Sys.Date()-100, Sys.Date(), 1))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.