setDevFac {cascsim} | R Documentation |
Set up an IBNER loss development schedule.
Description
setDevFac
sets a loss development schedule, from either a predictive model or a year-to-year factor vector.
Usage
setDevFac(object, ...)
## S4 method for signature 'DevFac'
setDevFac(object)
Arguments
object |
DevFac Object |
... |
Additional function arguments |
Examples
xIBNERFactor <- new("DevFac", FacID = "IF1", FacModel = FALSE, meanList = c(1.26,1.1,1.05,1.02,1),
volList = rep(0.02,5))
xIBNERFactor<-setDevFac(xIBNERFactor)
xIBNERFactor
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]