Skip to contents

Aggregate samples

Usage

aggregate_group(sample, pop, margin)

Arguments

sample

Sample array to age-standardize

pop

A population array to be used for weighted averages

margin

The margin on which the groups of interest are stratified