Skip to contents

Calculate number of people in the US population for a given range of years and ages

Usage

qcensus(yearz, agez)

Arguments

yearz

int or vector of years to calculate 2016 - 2060

agez

int or vector of ages to calculate 0 - 100

Examples

qcensus(yearz = c(2016, 2017), agez = c(0, 100))
#> [1] 4052041 4137609