Allocate expenses

allocate_expenses(dat, costs, weight_variable = c("tiv", "premium"))

Arguments

dat

data frame with required columns: tiv and allocated

costs

renewal costs list

weight_variable

String: one of c("tiv", "premium") indicating which variable should be used to weight and allocate expenses

Value

a tibble