PlotScree | R Documentation |
PlotScree
: Plot the scree for the eigenvalues
of an SVD-based multivariate analysis.
Note that the function can recompute the
eigen-values when a percentage is given.
For example ExPosition
does not return all ev
but only the requested one. but return all percentage
so if max.ev is specified, it is used to recompute
all eigenvalues.
By default PlotScree
will not plot the line corresponding to
the average inertia (i.e., Kaiser criterion).
If provided with probabilities,
PlotScree
will
color differently the "significant"
eigenvalues.
PlotScree( ev, p.ev = NULL, max.ev = NULL, alpha = 0.05, col.ns = "#006D2C", col.sig = "#54278F", title = "Explained Variance per Dimension", xlab = "Dimensions", plotKaiser = FALSE, color4Kaiser = "darkorchid4", lwd4Kaiser = 2.5 )
ev |
the eigenvalues to plot. No default. |
p.ev |
the probabilities
associated to the
eigen-values, (default = |
max.ev |
the max eigenvalue
needed because |
alpha |
threshold for significance
|
col.ns |
color for the non significant
eigenvalues. Default is |
col.sig |
color for significant
eigen-values.
Default is |
title |
a title for the graph
default is
|
xlab |
The names of the dimensions
(default |
plotKaiser |
when |
color4Kaiser |
color for Kaiser's
line
(default is |
lwd4Kaiser |
|
Hervé Abdi with help from Derek Beaton and Ju-Chi Yu.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.