Learn R Programming

dse (version R2000.6-1)

add.plot.roots: Add Model Roots to a plot

Description

Calculate and plot roots of a model.

Usage

add.plot.roots(model, fuzz=0)

Arguments

model
An object of class TSmodel.
fuzz
If non-zero then roots within fuzz distance are considered equal.

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 are addeded to an existing tfplot.

See Also

plot.roots

Examples

Run this code
if(is.R()) data("eg1.DSE.data.diff", package="dse1")
model <- est.VARX.ls(eg1.DSE.data.diff)
plot.roots(model)
add.plot.roots(to.SS(model))

Run the code above in your browser using DataLab