rreopen: Simulate whether closed claims will be reopened or not.

Description Usage Arguments Examples

View source: R/Common.R

Description

Simulate whether closed claims will be reopened or not.

Usage

1
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

1
2
reopenprob<-c(0.02,0.01,0.005,0.005,0.003,0)
rreopen(rep(2,1000),reopenprob)

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