yelt_test: A sample YELT (year event loss table)

Description Usage Format Attributes Examples

Description

A sample YELT (year event loss table) to test layers functions on. The YELT dataframe must have trial_count and lobs attributes to work with the layers functions.

Usage

1

Format

A data frame with 127648 rows and 5 variables:

trialID

Identifier for the trial, which represents one year

LOB

Line of business or other segmentation

Loss

Loss amount

Sequence

Sequence of loss within trial

Attributes

num_trials

The number of trials

lobs

The lines of business

Examples

1
2
3
aggregate(yelt_test["Loss"], yelt_test["LOB"], sum)
attributes(yelt_test)
attributes(yelt_test)[c("lobs", "trial_count")]

jfkingiii/layers documentation built on July 21, 2020, 8:57 p.m.