setMonthlyIndex-methods: Set monthly index values.

Description Usage Arguments Examples

Description

setMonthlyIndex<- sets monthly index values.

Usage

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

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

Arguments

this

Index Object

...

Additional function arguments

value

Numeric Vector

Examples

1
2
3
4
5
6
xindex <- new("Index")
setID(xindex)<-"IDX1"
setTabulate(xindex)<-TRUE
setMonthlyIndex(xindex)<- rep(1,360)
xindex<-setIndex(xindex)
xindex@monthlyIndex

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