Creates subset of demogdata object.
Arguments
- data
Demogdata object such as created using
read.demogdata
orsmooth.demogdata
.- years
Vector of years to extract from data.
Creates subset of demogdata object.
Demogdata object such as created using read.demogdata
or smooth.demogdata
.
Vector of years to extract from data.