CronbachAlpha | R Documentation |
Computes the Cronbach Alpha index on a units x variables data matrix. It measures the internal reliability, i.e., the propensity of J variables of a data matrix (n units x J variables) to be concordantly correlated with a single factor (composite indicator).
CronbachAlpha(X)
X |
Units x variables numeric data matrix. |
as |
Cronbach's Alpha |
Ionel Prunila, Maurizio Vichi
Cronbach L. J. (1951) "Coefficient alpha and the internal structure of tests" <doi:10.1007/BF02310555>
# Iris data
# Loading the numeric variables of iris data
iris <- as.matrix(iris[,-5])
# standardizing the data
iris <- scale(iris)
# compute Cronbach's Alpha
as <- CronbachAlpha(iris)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.