calc_CCR: Calculates Cohort Change Ratios across two time periods 5...

View source: R/calc_CCR.R

calc_CCRR Documentation

Calculates Cohort Change Ratios across two time periods 5 years apart

Description

Calculates Cohort Change Ratios across two time periods 5 years apart

Usage

calc_CCR(df_pre, df_post, composite = FALSE, parent_cols = c())

Arguments

df_pre

data frame like object at time t should have values for 2 sexes and 18 age groups

df_post

data frame like object at time t+5 should have values for 2 sexes and 18 age groups

composite

logical, return numerator and denominator separately

parent_cols

character vector, other columns to maintain in group by

Value

data frame object with CCR calculate by age and sex


nmmarquez/smoothHP documentation built on April 12, 2022, 8:04 a.m.