fillBins Fill bins represented by list of two lists males and females.

fillBins(ageDist, lowerAges, upperAges = NULL)

Arguments

ageDist

dataframe with sex and age columns

lowerAges

integer vector of lower age boundaries; must be the same length as upperAges

upperAges

integer vector of upper age boundaries; must be the same length as lowerAges