powered by
getIndex get a time index to reflect inflation, underwriting cycle or seasonality.
getIndex
getIndex(object, ...)# S4 method for Index getIndex(object, dates)
# S4 method for Index getIndex(object, dates)
Index Object
Additional function arguments
dates to get index information
# NOT RUN { xindex <- new("Index", indexID = "IDX1", tabulate = FALSE, annualizedRate = 0.03) xindex<-setIndex(xindex) xindex@monthlyIndex dates<-as.Date("2015-12-31") getIndex(xindex,dates) # }
Run the code above in your browser using DataLab