screeplot | R Documentation |
Plot eigenvalues (scree plot) or variances histogram.
## S4 method for signature 'MultivariateAnalysis'
screeplot(
x,
...,
eigenvalues = FALSE,
cumulative = FALSE,
labels = TRUE,
limit = 10,
col = "grey90",
border = "grey10",
col.cumulative = "red",
lty.cumulative = "solid",
lwd.cumulative = 2
)
## S4 method for signature 'PCOA'
screeplot(
x,
...,
labels = FALSE,
limit = NULL,
col = "grey90",
border = "grey10"
)
x |
A |
... |
Extra parameters to be passed to |
eigenvalues |
A |
cumulative |
A |
labels |
A |
limit |
An |
col , border |
A |
col.cumulative |
A specification for the line color. |
lty.cumulative |
A specification for the line type. |
lwd.cumulative |
A specification for the line width. |
screeplot()
is called for its side-effects: it results in a graphic
being displayed. Invisibly returns x
.
N. Frerebeau
Other plot methods:
biplot()
,
plot()
,
viz_contributions()
,
viz_individuals()
,
viz_variables()
,
viz_wrap
,
wrap
## Load data
data("iris")
## Compute principal components analysis
X <- pca(iris, scale = TRUE)
## Screeplot
screeplot(X)
screeplot(X, cumulative = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.