n
business days to the given dates
.dates
offset by the
given amount of n
business days.add(dates, n, cal)## S3 method for class 'character':
add(dates, n,
cal = bizdays.options$get("default.calendar"))
## S3 method for class 'POSIXct':
add(dates, n, cal = bizdays.options$get("default.calendar"))
## S3 method for class 'POSIXlt':
add(dates, n, cal = bizdays.options$get("default.calendar"))
## S3 method for class 'Date':
add(dates, n, cal = bizdays.options$get("default.calendar"))
data(holidaysANBIMA)
cal <- Calendar(holidaysANBIMA)
add("2013-01-02", 5, cal)
dates <- seq(as.Date("2013-01-01"), as.Date("2013-01-05"), by="day")
add(dates, 1, cal)
Run the code above in your browser using DataLab