View source: R/CollectiveModelMethods.R

Simulate_Losses.PPP_Model | R Documentation |

Simulates losses with a PPP_Model

```
## S3 method for class 'PPP_Model'
Simulate_Losses(CollectiveModel, nyears = 1)
```

`CollectiveModel` |
PPP_Model object. |

`nyears` |
Integer. Number of simulated years. |

A matrix where row k contains the simulated losses of the kth simulated year.

```
PPPM <- PiecewisePareto_Match_Layer_Losses(c(1000, 2000, 3000), c(2000, 1000, 500),
truncation = 10000, truncation_type = "wd")
PPPM
Simulate_Losses(PPPM, 100)
```

Pareto documentation built on April 18, 2023, 9:10 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.