bizseq {bizdays}R Documentation

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

bizseq("2013-01-02", "2013-01-31", "Brazil/ANBIMA")

[Package bizdays version 1.0.16 Index]