bizseq: Create a sequence of business days

View source: R/bizseq.R

bizseqR 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")

bizdays documentation built on May 29, 2024, 11:56 a.m.