Learn R Programming

cascsim (version 0.4)

setFacModel<-: Determine whether the development factor is determined by a predictive model or a fixed schedule by development year

Description

Determine whether the development factor is determined by a predictive model or a fixed schedule by development year

Usage

setFacModel(this, ...) <- value

# S4 method for DevFac,logical setFacModel(this) <- value

Arguments

this

DevFac Object

...

Additional function arguments

value

Logical Value (default:FALSE)

Examples

Run this code
# NOT RUN {
xIBNERFactor <- new("DevFac")
setID(xIBNERFactor)<-"IF1"
setFacModel(xIBNERFactor)<-TRUE
setFun(xIBNERFactor)<-"identity"
setXname(xIBNERFactor)<- c("x1","x2","x3")
setParas(xIBNERFactor)<-c(0.6,-0.2,0.01,-0.3,0.02,0.03,0.01,0.02)
xIBNERFactor<-setDevFac(xIBNERFactor)
xIBNERFactor
# }

Run the code above in your browser using DataLab