Description Usage Arguments Details
View source: R/ClaimsByWaitTime.R
Construct a data frame of claims simulated by time between events.
1 2 3 4 5 6 7 8 9 10 | claims_by_wait_time(
tbl_policy,
claim_frequency,
payment_frequency,
occurrence_wait,
report_wait,
pay_wait,
pay_severity,
pay_only_positive = TRUE
)
|
tbl_policy |
A data frame of policy records |
claim_frequency |
Number of claims per policy; can be a distribution. |
payment_frequency |
Number of payments per claim; can be a distribution. |
occurrence_wait |
Time until occurrence for each claim; can be a distribution |
report_wait |
Time until report; can be a distribution. |
pay_wait |
Lag time between payments; can be a distribution. |
pay_severity |
Severity of each claim payment; can be a distribution. |
pay_only_positive |
Boolean indicating whether to discard negative payments. |
This function will generate claim transactions.
Wait times and frequencies will be converted to integers with no message. If wait times or claim frequencies are less than zero, or payment frequencies are less than one, they will be converted with a message.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.