Learn R Programming

bizdays (version 1.0.10)

bizseq: Create a sequence of business days

Description

Returns a sequence of dates with business days only.

Usage

bizseq(from, to, cal)

Arguments

from

the initial date

to

the final date (must be greater than from)

cal

the calendar's name

Value

A vector of Date objects that are business days according to the provided Calendar.

Date types accepted

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.

Examples

Run this code
# NOT RUN {
bizseq("2013-01-02", "2013-01-31", "Brazil/ANBIMA")
# }

Run the code above in your browser using DataLab