apply_deductible_limit: Apply a deductible and limit to claims

View source: R/ShinySimulatorGlobal.R

apply_deductible_limitR Documentation

Apply a deductible and limit to claims

Description

Apply a deductible and limit to claims

Usage

apply_deductible_limit(
  gross_claims_data,
  reinsurance_structure,
  deductible,
  limit
)

Arguments

gross_claims_data

A vector of Claims.

reinsurance_structure

The chosen reinsurance structure. Options are: 'No Reinsurance Structure', 'Unlimited Layer', 'Limited Layer', 'Exclude Layer'.

deductible

The deductible of the reinsurance structure.

limit

The limit of the reinsurance structure.

Value

The ceded claims for the structure, with the chosen deductible and limit.

Examples

apply_deductible_limit(c(100, 50, 20), 'Limited Layer', 40, 20)
apply_deductible_limit(c(100, 50, 20), 'Limited Layer', 10, 30)

NetSimR documentation built on Oct. 25, 2023, 1:08 a.m.