plot.ictest {ICtest} | R 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 |
... |
other arguments passed on to |
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")