apply_severity_cap {NetSimR} | R Documentation |
Apply severity cap function
Description
Apply severity cap function
Usage
apply_severity_cap(claims, severity_cap_boolean, severity_cap_amount)
Arguments
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. |
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.
[Package NetSimR version 0.1.5 Index]