powered by
Plots the criterion values of an ictest object against its index number. Two versions of this screeplot are available.
ictest
# S3 method for ictest screeplot(x, type = "barplot", main = deparse(substitute(x)), ylab = "criterion", xlab = "component", ...)
object of class ictest.
barplot if a barplot or lines if a line plot is preferred.
barplot
lines
main title of the plot.
y-axis label.
x-axis label.
other arguments for the plotting functions.
ggscreeplot
# NOT RUN { 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) # }
Run the code above in your browser using DataLab