emod.loss_ncci: NCCI emod

Description Usage Examples

Description

NCCI emod

Usage

1
2
## S3 method for class 'loss_ncci'
emod(loss, payroll)

Examples

1
2
3
4
5
6
7
8
9
payroll <- data.frame(class = as.factor(c("8868", "9101")),
                      payroll = c(32000000, 6500000)
                      )

set.seed(1234)
test <- loss_ncci(year = sample(c(2012, 2013, 2014), 20, replace = TRUE),
                  type = sample(c("MO", "IND"), 20, replace = TRUE),
                  incurred = rlnorm(20, 10, 2))
emod(test, payroll)

merlinoa/emod documentation built on May 22, 2019, 6:52 p.m.