| getCalendar | R Documentation |
Get new calendar
getCalendar(calstr)
calstr |
Character variable identifying desired calendar |
This function returns an external pointer, classed as small S3 helper class, to a new QuantLib Calendar object identified by the calendar string.
A external pointer classed as S3 class 'qlcalendar'
setCalendar
xp <- getCalendar("UnitedStates/NYSE")
xp # invokes the print method
xp2 <- getCalendar("Canada/TSX")
xp2 # invokes the print method
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.