| is.bizday | R Documentation | 
Returns TRUE if the given date is a business day and FALSE
otherwise.
is.bizday(dates, cal)
dates | 
 dates to be checked  | 
cal | 
 the calendar's name  | 
logical objects informing that given dates are or are not business
days.
The argument dates accepts Date objects and any
object that returns a valid Date object when passed through
as.Date, which include all POSIX* classes and character
objects with ISO formatted dates.
is.bizday("2013-01-02", "Brazil/ANBIMA")
# Once you have a default calendar set, cal does not need to be provided
bizdays.options$set(default.calendar = "Brazil/ANBIMA")
dates <- seq(as.Date("2013-01-01"), as.Date("2013-01-05"), by = "day")
is.bizday(dates)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.