get_ref_prop_pop: Calculates reference proportion of population

View source: R/get_ref_prop_pop.R

get_ref_prop_popR Documentation

Calculates reference proportion of population

Description

This function calculates reference proportion of population. To be used in socialize() and standardize() in case that ref_prop_pop is not provided.

Usage

get_ref_prop_pop(df)

Arguments

df

Data frame or tibble with the data by geo_id_micro and age_group including a column for population

Value

A tibble with the columns

  • age_group containing numeric age values

  • ref_prop_pop containing numeric values

Author(s)

Alberto Castro & Axel Luyten


healthiar documentation built on March 12, 2026, 5:07 p.m.