setYearlyIndex<- | R Documentation |
setYearlyIndex<-
sets yearly index values. Monthly index will be constructed assuming constant growth rate during a year.
setYearlyIndex(this, ...) <- value ## S4 replacement method for signature 'Index,vector' setYearlyIndex(this) <- value
this |
Index Object |
... |
Additional function arguments |
value |
Numeric Vector |
xindex <- new("Index") setID(xindex)<-"IDX1" setTabulate(xindex)<-TRUE setYearlyIndex(xindex)<- c(1,1.05,1.2,0.95,1.3) xindex@yearlyIndex
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.