Skip to contents

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

Usage

# S3 method for 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

Rob J Hyndman

Examples

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