plot.Arima2 {arima2}R Documentation

Plot Arima2 object

Description

This function plots time series data loaded from an Arima2 object or plots inverse roots of the AR or MA polynomials in a fitted ARIMA model on the complex unit circle.

Usage

## S3 method for class 'Arima2'
plot(x, roots = TRUE, title = NULL, tick.lab = NULL, ...)

Arguments

x

An Arima2 object. This parameter is an object created using the function arima2().

roots

Would you instead prefer to plot the roots on a unit circle? Insert logical type here.

title

Title of plot

tick.lab

Time vector of numeric or character/string type.

...

Other parameters

Details

The output of this function is a ggplot object, so layers may be added to the output of this function using ggplot2's plus operator.

Value

⁠Arima 2⁠ plot, which is a ggplot2 object. Type of plot is indicated through roots parameter.

Examples

plot(arima(lh, order = c(1,0,1)))
plot(x = arima(lh, order = c(3,0,1)), roots = FALSE)

[Package arima2 version 3.1.0 Index]