View source: R/CollectiveModelMethods.R
Simulate_Losses.PGP_Model | R Documentation |
Simulates losses with a PGP_Model
## S3 method for class 'PGP_Model'
Simulate_Losses(CollectiveModel, nyears = 1)
CollectiveModel |
PGP_Model object. |
nyears |
Integer. Number of simulated years. |
A matrix where row k contains the simulated losses of the kth simulated year.
PGPM <- PGP_Model(2, 1000, 1, 2, dispersion = 2)
PGPM
Simulate_Losses(PGPM, 100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.