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

plot.fmres

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 residuals(fit), where fit is the output from ftsm or fplsr.

type

Type of plot to use. Possibilities are image, fts, contour, filled.contour and persp.

xlab

Label for x-axis.

ylab

Label for y-axis.

zlab

Label for z-axis.

...

Plotting parameters.

Value

Produces a plot.

Author(s)

Rob J Hyndman

See Also

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")

ftsa

Functional Time Series Analysis

v6.0
GPL-3
Authors
Rob Hyndman [aut] (<https://orcid.org/0000-0002-2140-5352>), Han Lin Shang [aut, cre, cph] (<https://orcid.org/0000-0003-1769-6430>)
Initial release
2020-11-29

We don't support your browser anymore

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