Learn R Programming

seasonal (version 0.20.2)

residplot: Plot the Residuals of an X13 regARIMA model

Description

Plot the residuals of an X13 regARIMA model, as well as the outliers. Optionally draw the trend series.

Usage

residplot(x, outliers = TRUE, ...)

Arguments

x
an object of class "seas", usually, a result of a call to seas.
outliers
logical, should the oultiers be drawn.
...
further arguments passed to ts.plot.

Value

  • returns a plot as its side effect.

See Also

seas for the main function.

Examples

Run this code
x <- seas(AirPassengers, regression.aictest = c("td", "easter"))
residplot(x)
residplot(x, outliers = FALSE)

Run the code above in your browser using DataLab