Description Usage Arguments Value Examples
Counts the number of days in year via the provided day count convention.
1 | days_in_year(date, conv = "Act/Act")
|
conv |
the day count convention can be either "30/360", "Act/365", or "Act/Act" (default) |
vector |
of dates |
number of days in year
1 2 | d <- as.Date(c("2015-01-01","2015-08-08"))
days_in_year(d, conv = "30/360")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.