Last chance! 50% off unlimited learning
Sale ends in
data(holidaysANBIMA)
cal <- Calendar(holidaysANBIMA, weekdays=c("saturday", "sunday"))
offset("2013-01-02", 5, cal)
# Once you have a default calendar set, cal does not need to be provided
bizdays.options$set(default.calendar=cal)
dates <- seq(as.Date("2013-01-01"), as.Date("2013-01-05"), by="day")
offset(dates, 1)
Run the code above in your browser using DataLab