setFun<- {cascsim}R Documentation

Set the model format/link function (identity/inverse/log/exponential). Only used when FacModel == TRUE.

Description

Set the model format/link function (identity/inverse/log/exponential). Only used when FacModel == TRUE.

Usage

setFun(this, ...) <- value

## S4 replacement method for signature 'DevFac,character'
setFun(this) <- value

Arguments

this

DevFac Object

...

Additional function arguments

value

String Value (default:"identity")

Examples

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

[Package cascsim version 0.4 Index]