Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

plot.errorfdm

Plot differences between actuals and estimates from fitted demographic model


Description

Function produces a plot of errors from a fitted demographic model.

Usage

## S3 method for class 'errorfdm'
plot(x, transform = TRUE, ...)

Arguments

x

Object of class "errorfdm" generated by compare.demogdata.

transform

Plot errors on transformed scale or original scale?

...

Plotting parameters.

Author(s)

Rob J Hyndman

See Also

Examples

fr.fit <- lca(extract.years(fr.mort,years=1921:1980))
fr.error <- compare.demogdata(fr.mort, forecast(fr.fit,20))
plot(fr.error)

demography

Forecasting Mortality, Fertility, Migration and Population Data

v1.22
GPL (>= 2)
Authors
Rob J Hyndman with contributions from Heather Booth, Leonie Tickle and John Maindonald.
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.