calendar.fixedday | R Documentation |
Add fixed day to a calendar
calendar.fixedday(calendar, month, day, weight = 1, start = NULL, end = NULL)
calendar |
The calendar. |
month, day |
the month and the day of the fixed day to add. |
weight |
weight associated to the holiday. |
start, end |
Validity period of the holiday in the format |
calendar <-calendar.new() calendar.fixedday(calendar, 1, 1) # add New-Year calendar.fixedday(calendar, 12, 25) # add Christmas
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.