summary.loss_df: returns the grouped sum of loss_df columns by origin period

Description Usage Arguments Examples

Description

returns the grouped sum of loss_df columns by origin period

Usage

1
2
## S3 method for class 'loss_df'
summary(ldf, detail = NULL, calendar = NULL)

Arguments

ldf

object of class loss_df

detail

optional - select specific detail names or columns names to include

calendar

optional - calendar period (i.e. calendar = origin + dev)

Examples

1
2
3
4
5
6
7
8
# without specificied `calendar`
summary(ldf_data)

# with specified `calendar`
summary(ldf_data, calendar = 2012)

# with specified `detail`
summary(ldf_data, detail = c("paid_excess250", "sal_sub", "paid"))

merlinoa/lossdb documentation built on May 22, 2019, 6:52 p.m.