getbizdays {bizdays} | R Documentation |
Obtaining business days using other dates (or month or year) as reference
Description
Calculates the number of business days for some specific periof of a year
or a month.
getbizdays
returns the number of business days according to a
reference than can be another date, a month or an year.
Usage
getbizdays(ref, cal = bizdays.options$get("default.calendar"))
Arguments
ref |
a reference which represents a month or year, where the date has to be found. |
cal |
the calendar's name
|
Examples
# for years
getbizdays(2022:2024, "Brazil/ANBIMA")
# for months
getbizdays("2022-12", "Brazil/ANBIMA")
[Package bizdays version 1.0.16 Index]