Omega {multiUS} | R Documentation |
Simple version of omega coefficient - measure of measurement internal consistency based on factor analysis
Description
The function omega coefficient, which is a measure of measurement internal consistency based on factor analysis, based on the covariance or correlation matrix. psych::fa
is used to preform factor analysis.
Usage
Omega(
C,
fm = "ml",
nfactors = 1,
covar = TRUE,
usePsych = TRUE,
returnFaRes = FALSE,
rotation = "none",
...
)
Arguments
C |
Covariance or correlation matrix. |
fm |
Factor analysis method, maximum likelihood ( |
nfactors |
Number of factors, 1 by default, |
covar |
Should the input |
usePsych |
Should |
returnFaRes |
Should results of factor analysis be returned in addition to the computed omega coefficient. |
rotation |
Rotation to be used in factor analysis. Defaults to "none", as it does not influence the Omega coefficient. Used only if |
... |
Additional parameters to |
Value
By default just the value of the omega coefficient. If returnFaRes
is TRUE
, then a list with two elements:
-
omega
- The value of the omega coefficient. -
faRes
- The result of factor analysis.
Author(s)
Ales Ziberna
Examples
Omega(C=cor(mtcars[,1:6]),nfactors=1)
Omega(C=cor(mtcars[,1:6]),nfactors=1,returnFaRes=TRUE)