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

addPlotRoots

Add Model Roots to a plot


Description

Calculate and plot roots of a model.

Usage

addPlotRoots(v, pch='*', fuzz=0)

Arguments

v

An object containing a TSmodel.

pch

Character to use for plotting.

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.

Side Effects

The roots are addeded to an existing plot.

See Also

Examples

data("eg1.DSE.data.diff", package="dse")
model <- estVARXls(eg1.DSE.data.diff)
plot(roots(model))
addPlotRoots(toSS(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.