Learn R Programming

RcppQuantuccia (version 0.1.2)

setCalendar: Set a calendar

Description

Set a calendar

Usage

setCalendar(calstr)

Value

Nothing is returned but the global state is changed

Arguments

calstr

A character variable containing the market for which a calendar is to be set

Details

This function sets a calendar to the given market or country convention. Note that at present only the default ‘TARGET’ and ‘UnitedStates’ are supported.

Examples

Run this code
setCalendar("UnitedStates")

Run the code above in your browser using DataLab