Description Usage Arguments Value Examples
Create a Simulation Machine Specification
1 2 | simulation_machine(num_claims, lob_distribution, inflation, sd_claim,
sd_recovery)
|
num_claims |
Number of expected records to generate. |
lob_distribution |
A length 4 vector. Distribution of claims among the four LOBs. |
inflation |
A length 4 vector. Grow parameters (per LOB) for the numbers of claims in the 12 accident years. |
sd_claim |
Value of the standard deviation used in the log-normal distribution of the claim sizes. |
sd_recovery |
Value of the standard deviation used in the log-normal distribution of the recovery sizes. |
A charm
object.
1 2 3 4 5 6 7 8 | charm <- simulation_machine(
num_claims = 50000,
lob_distribution = c(0.25, 0.25, 0.30, 0.20),
inflation = c(0.01, 0.01, 0.01, 0.01),
sd_claim = 0.85,
sd_recovery = 0.85
)
charm
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.