construct_triangle: Groups and aggregates the portfolio by e.g. reporting year...

Description Usage Arguments

View source: R/construct_triangle.R

Description

Groups and aggregates the portfolio by e.g. reporting year and development year since reporting

Usage

1
construct_triangle(data, group.var1, group.var2, value, cumulative = FALSE)

Arguments

data

The portfolio of claims. The portfolio should have one record per development year for each claim.

group.var1

Character. Name of the first grouping variable.

group.var2

Character. Name of the second grouping variable.

value

The name of the variable that will be aggregated over the two grouping variables.

cumulative

Logical. Should the cumulative run-off triangle be returned?


jonascrevecoeur/hirem documentation built on Dec. 14, 2021, 3 p.m.