Produce standard abridged age groups (lower bounds) up to a specified maximum age group.

maxA2abridged(ageMax = 80)

Arguments

ageMax integer. Default 80.

Value

integer. Vector of ages, e.g. c(0,1,5,10,15,...).

Details

If the highest age group is not evenly divisible by 5 then age classes only go up to its 5-year lower bound.

Examples

maxA2abridged(80)
#>  [1]  0  1  5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80all(maxA2abridged(100) == maxA2abridged(102))
#> [1] TRUE