Learn R Programming

bizdays (version 0.1.4)

bizdays.options: bizdays' options

Description

bizdays.options defines the default calendar to be used when calling to the functions: bizdays, adjust.next, adjust.previous, is.bizday, bizseq, offset; without providing a Calendar instance as a parameter.

Usage

bizdays.options

Arguments

format

a list with get and set functions attached bizdays.options$set(key=value) bizdays.options$get("key")

Examples

Run this code
cal <- Calendar(name="Weekdays")
bizdays.options$set(default.calendar=cal)
bizdays.options$get("default.calendar")
bizdays("2013-07-12", "2013-07-22")

Run the code above in your browser using DataLab