set.upperage {demography} | R Documentation |
Combine the upperages of a demogdata object.
Description
Computes demographic rates by combining age groups.
Usage
set.upperage(data, max.age)
Arguments
data |
Demogdata object such as created using |
max.age |
Upper age group. Ages beyond this are combined into the upper age group. |
Value
Demogdata object with same components as data
but with a subset of ages.
Author(s)
Rob J Hyndman
Examples
france.short <- set.upperage(fr.mort, 85)
[Package demography version 2.0 Index]