screeplot.ictest | R Documentation |
Plots the criterion values of an ictest
object against its index number. Two versions of this screeplot are available.
## S3 method for class 'ictest' screeplot(x, type = "barplot", main = deparse(substitute(x)), ylab = "criterion", xlab = "component", ...)
x |
object of class |
type |
|
main |
main title of the plot. |
ylab |
y-axis label. |
xlab |
x-axis label. |
... |
other arguments for the plotting functions. |
Klaus Nordhausen
ggscreeplot
n <- 200 X <- cbind(rnorm(n, sd = 2), rnorm(n, sd = 1.5), rnorm(n), rnorm(n), rnorm(n)) TestCov <- PCAasymp(X, k = 2) screeplot(TestCov)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.