psych (version 1.0-17)

eigen.loadings: Extract eigen vectors, eigen values, show loadings

Description

Some SAPA matrices are ill formed. This lets us find pseudo factor loadings if we have used princomp or princ. If we use principal to do our principal components analysis, then we do not need this routine.

Usage

eigen.loadings(x)

Arguments

x
a matrix of loadings from princ or princomp

Value

  • A matrix of PA loadings more typical for what is expected in psychometrics.

Examples

Run this code
## The function is currently defined as
function (x) { #convert eigen vectors to loadings by unnormalizing them
               #used if using princomp or princ, not needed for principal
    n <- length(x$values)
    x$values[ x$values<0] <- 0
    fix<-sqrt(x$values)
    result<- x$vectors * rep(fix, each = n)}

Run the code above in your browser using DataCamp Workspace