Learn R Programming

cxreg (version 1.0.0)

plot.cglasso: plot heatmap from a "cglasso" object

Description

Produces plot of the estimated inverse spectral matrix for a fitted "cglasso" object. A inverse spectral matrix profile plot is produced.

Usage

# S3 method for cglasso
plot(
  x,
  index,
  type = c("real", "imaginary", "mod", "both"),
  label = FALSE,
  ...
)

Value

No return value, called for side effects (produces a plot).

Arguments

x

fitted "cglasso" model

index

For which inverse spectral matrix profile is the plot to be drawn? Default is 1. The index must be provided within the length of the sequence of lambdas.

type

Whether the plot is for real or imaginary part, or both, or in modulus (mod; absolute scale). Default is mod.

label

If TRUE, label the axes with variable names.

...

Other graphical parameters to plot.

Author

Navonil Deb, Younghoon Kim, Sumanta Basu
Maintainer: Younghoon Kim yk748@cornell.edu

See Also

cglasso