Description Usage Format Examples
This data is a subset of the the losses
data frame from the
casdata
package available on Github https://github.com/Ractuary/casdata
1 |
A data frame with 21 rows and 7 variables:
Line of Business
Unique company code
Company name
the origin period of the losses
the development age of the losses
the cumulative incurred losses
the cumulative paid losses
1 2 3 4 5 6 7 8 9 10 11 12 13 | # code used to create this dataset
if (interactive()) {
library(casdata)
library(dplyr)
library(devtools)
tri_data <- losses %>% filter(lob == "wkcomp", gr_code == 671, origin >= 1992) %>%
mutate(cal = origin + dev - 1) %>%
filter(cal <= 1997) %>%
select(-bulk, -cal)
use_data(tri_data, overwrite = TRUE)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.