Adjust any non-working days to the following business day in a given calendar
Source:R/adjust_to_bizday.R
adjust_to_bizday.RdAdjust any non-working days to the following business day in a given calendar
Arguments
- date
A vector of dates (Date object or coercible with
as.Date()).- calendar
(character) A QuantLib calendar id (the vector qlcal::calendars lists all valid options).
Value
A vector of Date objects, the same length as date, with any non-working dates adjusted to the following business day in the specified calendar. Working days are left unchanged.