setYearlyIndex-methods: Set yearly index values.

setYearlyIndex<-R Documentation

Set yearly index values.

Description

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

Usage

setYearlyIndex(this, ...) <- value

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

Arguments

this

Index Object

...

Additional function arguments

value

Numeric Vector

Examples

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

casact/cascsim documentation built on Nov. 12, 2022, 11:53 p.m.