cal_names: Calendar names

View source: R/rcalendar.R

cal_namesR Documentation

Calendar names

Description

cal_names() returns the names of the holidays in a calendar.

Usage

cal_names(x)

Arguments

x

⁠[rcalendar]⁠

An rcalendar.

Value

A character vector of holiday names.

Examples

x <- rcalendar(hol_christmas(), hol_new_years_day())
cal_names(x)

almanac documentation built on April 14, 2023, 12:23 a.m.