setAnnualizedRate-methods: Set the annualized level rate to construct the index. Only...

Description Usage Arguments Examples

Description

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

Usage

1
2
3
4
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

1
2
3
4
5
6
xindex <- new("Index")
setID(xindex)<-"IDX1"
setTabulate(xindex)<-FALSE
setAnnualizedRate(xindex)<-0.03
xindex<-setIndex(xindex)
xindex@monthlyIndex

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