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

plot.roots

Plot Model Roots


Description

Calculate and plot roots of a model.

Usage

## S3 method for class 'roots'
plot(x, pch='*', fuzz=0, ...)

Arguments

x

An object of class roots (a vector of complex (or real) values as returned by the function roots).

pch

character to be used for the plot (passed to plot.default).

fuzz

If non-zero then roots within fuzz distance are considered equal.

...

(further arguments, currently disregarded).

Value

The eigenvalues of the state transition matrix or the inverse of the roots of the determinant of the AR polynomial are returned invisibly.

Side Effects

The roots and a unit circle are plotted on the complex plane.

See Also

Examples

data("eg1.DSE.data.diff", package="dse")
    model <- estVARXls(eg1.DSE.data.diff)
    plot(roots(model))

dse

Dynamic Systems Estimation (Time Series Package)

v2020.2-1
GPL-2
Authors
Paul Gilbert <pgilbert.ttv9z@ncf.ca>
Initial release

We don't support your browser anymore

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