Calculates the relativities (freq or sev) of a set of covariate values.
covariates_relativity(
covariates_data,
freq_sev = c("freq", "sev"),
by_ids = FALSE
)a covariates_data object
one of freq or sev to calculate the frequency or severity relativity respectively.
optional boolean to calculate reorder the result based off claim observations instead of observations in the covariates dataset. Defaults to FALSE.