PPP_Model_Layer_Var | R Documentation |

Calculates the variance of the loss in a reinsurance layer for a PPP_Model. This function is deprecated. Use `Layer_Var`

instead.

```
PPP_Model_Layer_Var(Cover, AttachmentPoint, PPP_Model)
```

`Cover` |
Numeric. Cover of the reinsurance layer. Use |

`AttachmentPoint` |
Numeric. Attachment point of the reinsurance layer. |

`PPP_Model` |
PPP_Model object. |

The variance of the loss in the layer `Cover`

xs `AttachmentPoint`

for the given `PPP_Model`

```
PPPM <- PiecewisePareto_Match_Layer_Losses(Example1_AP, Example1_EL)
PPPM
Example1_Cov <- c(diff(Example1_AP), Inf)
Layer_Var(PPPM, Example1_Cov, Example1_AP)
```

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.