Last chance! 50% off unlimited learning
Sale ends in
Returns a sequence of dates with business days only.
bizseq(from, to, cal)
the initial date
the final date (must be greater than from
)
the calendar's name
A vector of Date
objects that are business days according to the
provided Calendar
.
The arguments from
and to
accept 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.
# NOT RUN {
create.calendar("Brazil/ANBIMA", holidaysANBIMA, weekdays=c("saturday", "sunday"))
bizseq("2013-01-02", "2013-01-31", "Brazil/ANBIMA")
# }
Run the code above in your browser using DataLab