| setCalendar | R Documentation |
Set a calendar
setCalendar(calstr)
calstr |
A character variable containing the market for which a calendar is to be set |
This function sets the default calendar to the given market or country convention.
Note that additional calendar objects can be created with the getCalendar
function.
Nothing is returned but the global state is changed
getCalendar
setCalendar("UnitedStates/NYSE") # sets global calendar
setCalendar("Canada/TSX") # reset global calendar
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.