This is used to scale the pyramid plot symmetrically.

getMaxAx(bins, axModulus)

Arguments

bins

integer vector with numbers of individuals in each bin

axModulus

integer value used in the modulus function to determine the interval between possible maxAx values.