Learn R Programming

dse (version 2003.6-1)

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.

sideffects

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

See Also

addPlotRoots roots stability McMillanDegree

Examples

Run this code
if(is.R()) data("eg1.DSE.data.diff", package="dse1")
    model <- estVARXls(eg1.DSE.data.diff)
    plot(roots(model))

Run the code above in your browser using DataLab