plot.ictest: Scatterplot Matrix for a ictest Object

plot.ictestR Documentation

Scatterplot Matrix for a ictest Object

Description

For an object of class ictest, plots either the pairwise scatter plot matrix, or the time series plots of the underlying components. The user can choose if only the components considered interesting or all of them should be plotted.

Usage

## S3 method for class 'ictest'
plot(x, which = "all", ...)

Arguments

x

object of class ictest

which

if "all", then all components of S in the ictest object are plotted. If "k", then only the first k components are plotted, where the value of k is taken from the ictest object. This is only meaningful if k was at least 2.

...

other arguments passed on to pairs if the components are a numeric matrix or to plot.ts, plot.zoo or plot.xts if the components are from the corresponding class.

Details

If the component matrix has the class mts, xts or zoo, then a time series plot will be plotted. Otherwise, the pairwise scatter plot matrix will be plotted.

Author(s)

Klaus Nordhausen

See Also

ggplot.ictest, pairs, plot.ts, plot.zoo, plot.xts

Examples

n <- 200
X <- cbind(rnorm(n, sd = 2), rnorm(n, sd = 1.5), rnorm(n), rnorm(n), rnorm(n))

TestCov <- PCAasymp(X, k = 2)
plot(TestCov)
plot(TestCov, which = "k")

ICtest documentation built on May 18, 2022, 9:05 a.m.