setYearlyIndex-methods: Set yearly index values.

Description Usage Arguments Examples

Description

setYearlyIndex<- sets yearly index values. Monthly index will be constructed assuming constant growth rate during a year.

Usage

1
2
3
4
setYearlyIndex(this, ...) <- value

## S4 replacement method for signature 'Index,vector'
setYearlyIndex(this) <- value

Arguments

this

Index Object

...

Additional function arguments

value

Numeric Vector

Examples

1
2
3
4
5
xindex <- new("Index")
setID(xindex)<-"IDX1"
setTabulate(xindex)<-TRUE
setYearlyIndex(xindex)<- c(1,1.05,1.2,0.95,1.3)
xindex@yearlyIndex

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