plot.fmres {ftsa} | R Documentation |
Plot residuals from a fitted functional model.
Description
Functions to produce a plot of residuals from a fitted functional model.
Usage
## S3 method for class 'fmres'
plot(x, type = c("image", "fts", "contour", "filled.contour",
"persp"), xlab = "Year", ylab = "Age", zlab = "Residual", ...)
Arguments
x |
Generated by |
type |
Type of plot to use. Possibilities are |
xlab |
Label for |
ylab |
Label for |
zlab |
Label for |
... |
Plotting parameters. |
Value
Produces a plot.
Author(s)
Rob J Hyndman
See Also
ftsm
, forecast.ftsm
, plot.fm
, plot.fmres
, residuals.fm
, summary.fm
Examples
# colorspace package was used to provide a more coherent color option.
plot(residuals(ftsm(y = ElNino_ERSST_region_1and2)), type = "filled.contour", xlab = "Month",
ylab = "Residual sea surface temperature")
[Package ftsa version 6.4 Index]