Usage
FaClassic(x, ...)
## S3 method for class 'formula':
FaClassic(formula, data = NULL, factors = 2, cor = FALSE, method = "mle",
scoresMethod = "none", \dots)
## S3 method for class 'default':
FaClassic(x, factors = 2, cor = FALSE, method = c("mle", "pca", "pfa"),
scoresMethod = c("none", "regression", "Bartlett"), ...)
Arguments
x
A formula or a numeric matrix or an object that can be coerced to a numeric matrix.
...
Arguments passed to or from other methods.
formula
A formula with no response variable, referring only to numeric variables.
data
An optional data frame (or similar: see model.frame
) containing the variables in the formula
. factors
The number of factors to be fitted.
cor
A logical value indicating whether the calculation should use the covariance matrix (cor = FALSE
) or the correlation matrix (cor = TRUE
).
method
The method of factor analysis, one of "mle" (the default), "pca", and "pfa".
scoresMethod
Type of scores to produce, if any. The default is "none"
, "regression"
gives Thompson's scores, "Bartlett"
gives Bartlett's weighted least-squares scores.