setYearlyIndex<- {cascsim} | 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
[Package cascsim version 0.4 Index]