setAnnualizedRate<- {cascsim}R Documentation

Set the annualized level rate to construct the index. Only used when tabulate == FALSE.

Description

Set the annualized level rate to construct the index. Only used when tabulate == FALSE.

Usage

setAnnualizedRate(this, ...) <- value

## S4 replacement method for signature 'Index,numeric'
setAnnualizedRate(this) <- value

Arguments

this

Index Object

...

Additional function arguments

value

Numeric Value (default:0.02)

Examples

xindex <- new("Index")
setID(xindex)<-"IDX1"
setTabulate(xindex)<-FALSE
setAnnualizedRate(xindex)<-0.03
xindex<-setIndex(xindex)
xindex@monthlyIndex

[Package cascsim version 0.4 Index]