Skip to contents

This function checks this input data for possible mistakes, implausible entries or missing or double rows.

Usage

reinsurance_ok(reinsurance, indices, first_orig_year, last_orig_year)

Arguments

reinsurance

Dataframe with reinsurance information, see details of xl_cashflow() or reinsurance_xmpl.

indices

Dataframe for indexation, see details of prepare_data().

first_orig_year

First origin year.

last_orig_year

Last origin year.

Value

TRUE if every check is passed, else FALSE.

Examples

reinsurance_ok(reinsurance_xmpl, indices_xmpl, 1989, 2023)
#> [1] TRUE