plot_transaction_dataset | R Documentation |
Generates a plot of cumulative claims paid (as a percentage of total amount incurred) as a function of development time for each occurrence period.
plot_transaction_dataset(
transactions,
occurrence_time_col = "occurrence_time",
payment_time_col = "payment_time",
payment_size_col = "payment_inflated",
by_year = FALSE,
adjust = TRUE
)
transactions |
a dataset of partial payment records. |
occurrence_time_col |
name of column that stores the time of occurrence of the claims (on a continuous scale). |
payment_time_col |
name of column that stores the time of partial payments of the claims (on a continuous scale). |
payment_size_col |
name of column that stores the size of partial payments of the claims. |
by_year |
if |
adjust |
if |
generate_transaction_dataset
plot_transaction_dataset(test_transaction_dataset)
# Plot claim development without end-of-development-period correction
plot_transaction_dataset(test_transaction_dataset, adjust = FALSE)
# Plot claim development without inflation effects
plot_transaction_dataset(test_transaction_dataset, payment_size_col = "payment_size")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.