powered by
Creates subset of demogdata object.
extract.years(data, years)
Demogdata object with same components as data but with a subset of years.
data
Demogdata object such as created using read.demogdata or smooth.demogdata.
read.demogdata
smooth.demogdata
Vector of years to extract from data.
Rob J Hyndman
france.1918 <- extract.years(fr.mort,1918)
Run the code above in your browser using DataLab