factor.residuals {psych}R Documentation

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

Details

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

Value

rstar is the residual correlation matrix.

Author(s)

Maintainer: William Revelle <revelle@northwestern.edu>

Examples


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

[Package psych version 1.0-18 Index]