group_by_occurrence: group_by_occurrence

View source: R/actuary-group_by_occurrence.R

group_by_occurrenceR Documentation

group_by_occurrence

Description

Group loss data by occurrence ID.

Usage

group_by_occurrence(dat)

Arguments

dat

loss_data by claim ID

Value

data grouped by occurrence

Examples

## Not run: 
dat <- readRDS("data/shiny-data.rds") %>%
  filter(
    eval_dt == as.Date("2018-12-31"),
    member == "Ace Endico Corporation"
  )
test <- by_occurrence(dat)

## End(Not run)



jimbrig2011/jimstools documentation built on Sept. 14, 2022, 1:38 a.m.