cal_names()
returns the names of the holidays in a calendar.
Examples
x <- rcalendar(hol_christmas(), hol_new_years_day())
cal_names(x)
#> [1] "Christmas" "New Year's Day"
cal_names()
returns the names of the holidays in a calendar.
x <- rcalendar(hol_christmas(), hol_new_years_day())
cal_names(x)
#> [1] "Christmas" "New Year's Day"