plot.predict.MEM: Plot the Predicted Age-at-Death Distribution

Description Usage Arguments See Also Examples

View source: R/plot_MEM.R

Description

Plot the Predicted Age-at-Death Distribution

Usage

1
2
3
4
## S3 method for class 'predict.MEM'
plot(x, y = NULL, plotType = c("mean", "lower",
  "upper", "raw_moments", "normalised_moments", "scaled_moments"),
  ny = 7, level = 80, ...)

Arguments

x

An object of the class predict.MEM.

y

An object of the class model.MEM. Needed only for plotting moments. See plotType.

plotType

The type of the plot. The alternatives are "mean", "lower", "upper", "raw_moments", "normalised_moments", "scaled_moments". Default: "mean".

ny

Number of years to be selected from input data and to be added in the plot.

level

Sets the number of quantiles the data should be broken into. Default: 80.

...

Other plotting parameters to be passed to the plotting functions. This can be used to control the appearance of the plots.

See Also

model.MEM

Examples

1
# For examples go to ?model.MEM

mpascariu/MortalityForecast documentation built on Sept. 28, 2020, 2:40 p.m.