Learn R Programming

bizdays (version 1.0.10)

calendar-holidays-weekdays: Calendar's holidays and weekdays

Description

Returns calendar's list of holidays and weekdays

Usage

holidays(cal)

# S3 method for default holidays(cal)

# S3 method for Calendar holidays(cal)

# S3 method for character holidays(cal)

# S3 method for default weekdays(x, ...)

# S3 method for Calendar weekdays(x, ...)

# S3 method for character weekdays(x, ...)

Arguments

cal

character with calendar name or the calendar object

x

character with calendar name or the calendar object

...

unused argument (this exists to keep compliance with weekdays generic)

Examples

Run this code
# NOT RUN {
holidays("actual")
weekdays("actual")
# empty calls return the default calendar attributes
holidays()
weekdays()
# }

Run the code above in your browser using DataLab