Description Usage Arguments Details Examples
Transforms cumulative dollar value in a loss_df object into incremental
1 | incremental(ldf, dollar, include_all = FALSE)
|
ldf |
object of class loss_df |
dollar |
column to transform from cumulative to incremental. Can be of any of
the allowable 'dollar' types for class |
include_all |
logical. default = FALSE. Whether or not to calculate incremental losses for development years where data from prior development year is missing. |
incremental
turns cumulative loss values into incemental amounts.
Claims that are not reported until after the first development period after their
origin are given an incremental payment in the first at the time they are first reported.
1 2 3 4 5 | incremental(test_df, dollar = "paid")
# nexy two compare the effect of `include_all` argument
incremental(test_df_incomplete, dollar = "paid")
incremental(test_df_incomplete, dollar = "paid", include_all = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.