layer: Create a layer object.

Description Usage Arguments Value Examples

View source: R/layer.R

Description

Create a layer object.

Usage

1
2
3
4
5
6
7
8
9
layer(
  limit,
  attachment,
  participation = 1,
  loss_set,
  lobs = NULL,
  agg_attachment = 0,
  agg_limit = UNLIMITED
)

Arguments

limit

layer per occurrence limit.

attachment

layer per occurrence attachment point.

participation

layer participation (proportion ceded).

loss_set

String containing the name of data frame. The dataframe must contain columns trialID, LOB, and Loss.

lobs

list of LOBs the layer applies to.

agg_attachment

layer per occurrence limit.

agg_limit

layer per occurrence limit.

Value

The layer object.

Examples

1
2
3
test_layer <- layer(4000000, 1000000, 1, "yelt_test", lobs=c("PHYSICIANS","CHC","MEDCHOICE"))
agg_layer <- layer(4000000, 1000000, 1, "yelt_test", lobs=c("PHYSICIANS","CHC","MEDCHOICE"),
                   agg_attachment = 4000000, agg_limit=8000000)

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