epVari | R Documentation |
epVari
: a
Varimax rotation on loadings and factor scores.
epVari
is based on stats::varimax
(with parameters normalize = TRUE, eps = 1e-6
), but
gives also the rotated factor scores, pseudo eigenvalues
and explained percentage
of inertia for the rotated dimensions.
epVari(resExpo, dim2keep = 2, normalize = TRUE, ...)
resExpo |
the results of a principal component
analysis performed
by |
dim2keep |
|
normalize |
( |
... |
stuff to pass to |
epVar
is a wrapper
around stats::varimax
.
A list with 6 elements:
rotationMatrix:
the rotation matrix.
scaled.rotationMatrix:
the scaled rotation matrix
(differs from rotationMatrix
only when normalize = TRUE
), see
varimax
for more.
rotated.I:
the rotated factor scores
(I
-set).
rotated.J:
the loadings (J
-set).
rotated.eigs:
the rotated pseudo-eigenvalues.
rotated.t:
the rotated percentage of explained inertia.
Hervé Abdi
varimax
data(iris)
library(ExPosition)
resPCA <- ExPosition::epPCA(iris[,1:4], graphs = FALSE)
iris.Vari <- epVari(resPCA)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.