getIndex-methods: Retrieve index value based on dates.

Description Usage Arguments Examples

Description

getIndex get a time index to reflect inflation, underwriting cycle or seasonality.

Usage

1
2
3
4
getIndex(object, ...)

## S4 method for signature 'Index'
getIndex(object, dates)

Arguments

object

Index Object

...

Additional function arguments

dates

dates to get index information

Examples

1
2
3
4
5
xindex <- new("Index", indexID = "IDX1", tabulate = FALSE, annualizedRate = 0.03)
xindex<-setIndex(xindex)
xindex@monthlyIndex
dates<-as.Date("2015-12-31")
getIndex(xindex,dates)

cascsim documentation built on Jan. 13, 2020, 5:07 p.m.