aggregate_pop: Aggregate population by segment

Description Usage Arguments See Also

View source: R/part-rate.R

Description

This is a convenience function to prepare the population data to match the dimension and naming convention needed for joining with participant summaries produced by est_part.

Usage

1
aggregate_pop(pop_seg, seg = "gender", var = "sex")

Arguments

pop_seg

input population data frame

seg

name of segment to be stored in output data frame

var

name of input variable to summarize

See Also

Other functions for estimating participation rate: est_rate()


southwick-associates/sadashreg documentation built on Jan. 7, 2022, 1:35 a.m.