Computes mean or median of demographic rates for each age level.
Arguments
- x
Demogdata object such as created using
read.demogdata
orsmooth.demogdata
.- series
Name of demogdata series to plot..
- transform
Should transform of data be taken first?
- na.rm
a logical value indicating whether NA values should be stripped before the computation proceeds.
- ...
Other arguments.
- method
Method for computing the median. Either "coordinate" for a coordinate-wise median, or "hossjercroux" for the L1-median using the Hossjer-Croux algorithm.