RunFactorAnalysis: Performs factor analysis

View source: R/RunFactorAnalysis.R

RunFactorAnalysisR Documentation

Performs factor analysis

Description

This function performs factor analysis

Usage

RunFactorAnalysis(x, cor.matrix = FALSE, n.factors = 0, max.iter = 50, criterion = 0.01)

Arguments

x

The data or correlation matrix

cor.matrix

Whether x is a correlation matrix. The default is FALSE.

n.factors

The number of factors to use. The default value is 0.

max.iter

The maximum number of iterations. The default value is 50.

criterion

Acceptably small change in h2 between interations. The default value is .01.

Details

Called by higher-order functions; users do not need to call this function directly.

Value

List of factor loadings and number of factors

loadings

The factor loadings

factors

The number of factors

Author(s)

John Ruscio <ruscio@tcnj.edu> and Shirley Wang <shirleywang@g.harvard.edu> Maintainer: John Ruscio <ruscio@tcnj.edu>


RTaxometrics documentation built on May 31, 2023, 8:29 p.m.