getIndex | R Documentation |
getIndex
get a time index to reflect inflation, underwriting cycle or seasonality.
getIndex(object, ...) ## S4 method for signature 'Index' getIndex(object, dates)
object |
Index Object |
... |
Additional function arguments |
dates |
dates to get index information |
xindex <- new("Index", indexID = "IDX1", tabulate = FALSE, annualizedRate = 0.03) xindex<-setIndex(xindex) xindex@monthlyIndex dates<-as.Date("2015-12-31") getIndex(xindex,dates)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.