View source: R/ShinySimulatorGlobal.R
apply_severity_cap | R Documentation |
Apply severity cap function
apply_severity_cap(claims, severity_cap_boolean, severity_cap_amount)
claims |
A vector of Claims. |
severity_cap_boolean |
A variable that if true, the function will cap the claims, otherwise will just return them. |
severity_cap_amount |
The claim cap value. |
If severity_cap_boolean
is true, then will return the minimum of severity_cap_amount
or claims
otherwise will return claims
. The operation is vectorised.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.