Skip to contents

Age-standardize samples

Usage

age_standardize(sample, std_pop, margin)

Arguments

sample

Sample array to age-standardize

std_pop

A vector of standard populations

margin

The margin on which the age data is stratified