Skip to contents

Computes demographic rates by combining age groups.

Usage

set.upperage(data, max.age)

Arguments

data

Demogdata object such as created using read.demogdata or smooth.demogdata.

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

Rob J Hyndman

Examples

france.short <- set.upperage(fr.mort, 85)