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)



jimbrig/jimstools documentation built on Sept. 12, 2022, 12:08 p.m.