Extract some ages from a demogdata object
Creates subset of demogdata object.
extract.ages(data, ages, combine.upper = TRUE)
data |
Demogdata object such as created using |
ages |
Vector of ages to extract from data. |
combine.upper |
If TRUE, ages beyond the maximum of |
Demogdata object with same components as data
but with a subset of ages.
Rob J Hyndman
france.teens <- extract.ages(fr.mort,13:19,FALSE) plot(france.teens)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.