rreopen {cascsim} | R Documentation |
Simulate whether closed claims will be reopened or not.
Description
Simulate whether closed claims will be reopened or not.
Usage
rreopen(closeYear, reopenProb)
Arguments
closeYear |
Years after claim closure. It could be a number or a numeric vector. |
reopenProb |
A vector that contains the reopen probability based on closeYear. |
Examples
reopenprob<-c(0.02,0.01,0.005,0.005,0.003,0)
rreopen(rep(2,1000),reopenprob)
[Package cascsim version 0.4 Index]