dev_tri | R Documentation |
Development Triangle Class
dev_tri(origin, age, value, value_label = NULL, latest_eval_date = NULL)
origin , age , value |
columns necessary to generate a 'dev_tri' |
value_label |
optional label for the values (i.e. paid, incurred) |
latest_eval_date |
optional - specify latest val date |
library(lossdevtapp)
my_triangle <- dev_tri(
origin = loss_data$accident_year,
age = loss_data$devt,
value = loss_data$payment,
value_label = "paid",
latest_eval_date = max(loss_data$eval_date)
)
class(my_triangle)
str(my_triangle)
print(my_triangle)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.