generate_claim_dataset | R Documentation |
Generates a dataset of claims records that takes the same structure as
test_claim_dataset
included in this package, with each row
representing a unique claim.
generate_claim_dataset(
frequency_vector,
occurrence_list,
claim_size_list,
notification_list,
settlement_list,
no_payments_list
)
frequency_vector |
a vector of claim frequencies for all the periods. |
occurrence_list |
list of claim occurrence times. |
claim_size_list |
list of claim sizes. |
notification_list |
list of notification delays. |
settlement_list |
list of settlement delays. |
no_payments_list |
list of number of partial payments. |
A dataframe that takes the same structure as
test_claim_dataset
.
test_claim_dataset
# demo only, in practice might generate claim dataset before simulating
# the partial payments
# this code generates the built-in test_claim_dataset
attach(test_claims_object)
claim_dataset <- generate_claim_dataset(
frequency_vector, occurrence_list, claim_size_list, notification_list,
settlement_list, no_payments_list
)
detach(test_claims_object)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.