psych (version 1.0-17)

factor.residuals: R* = R- F F'

Description

The basic factor or principal components model is that a correlation or covariance matrix may be reproduced by the product of a factor loading matrix times its transpose. Find the residuals of the original minus the reproduced matrix. Used by factor.fit, VSS, ICLUST, etc.

Usage

factor.residuals(r, f)

Arguments

r
A correlation matrix
f
A factor model matrix

Value

  • rstar is the residual correlation matrix.

Details

R* = R - F'F is the basic factor equation.

Examples

Run this code
## The function is currently defined as
function(r, f) {
   rstar<- r- factor.model(f)
   return(rstar)}

Run the code above in your browser using DataCamp Workspace