Learn R Programming

NetSimR (version 0.1.5)

apply_deductible_limit: 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
)

Value

The ceded claims for the structure, with the chosen deductible and 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.

Examples

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

Run the code above in your browser using DataLab