enumR: enumR function

Description Usage Arguments Value

Description

The enumR function is a heavily modified version of the vss function from Psych Package]. Both functions are designed to help researchers determine the number of factors in their exploratory factor analysis. This function includes a variarity of methods.

Usage

1
2
3
enumR(x, nfactors = 8, rotation = "oblimin", diagonal = FALSE,
  method = "ml", samplesize = NULL, use = "pairwise", cor = "cov",
  truemodel = FALSE, ...)

Arguments

x

a correlation matrix or a data matrix ... parameters to pass to the factor analysis program The most important of these is if using a correlation matrix is covmat= xx

nfactors

Maximum number of factors to extract. Needs to be larger than expected.

rotation

what rotation to use c("none", "varimax", "oblimin","promax")

diagonal

Should we fit the diagonal as well

method

factoring method – fm="pa" Principal Axis Factor Analysis, fm = "minres" minimum residual (OLS) factoring fm="ml" Maximum Likelihood FA, fm="pc" Principal Components"

samplesize

Number of observations if doing a factor analysis of correlation matrix. This value is ignored by VSS but is necessary for the ML factor analysis packag

use

If doing covariances or Pearson R, should we use "pairwise" or "complete cases"

cor

What kind of correlation to find, defaults to covariance matrix, but see fa for the choices

true_model

If TRUE, Estimates model using nfactors only. Is used in enumRsimulation function. Default is FALSE.

Value

dataframe


smasongarrison/enumR documentation built on May 24, 2019, 7:19 a.m.