isHoliday | R Documentation |
Test a vector of dates for holiday
isHoliday(dates)
dates |
A Date vector with dates to be examined |
This function takes a vector of dates and returns a logical vector of the same length indicating at each position whether the corresponding date is a holiday in the currently active (global) calendar.
A logical vector indicating which dates are holidays
isHoliday(Sys.Date()+0:6)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.