View source: R/fa_reliability.R
fa_reliability | R Documentation |
Calculate reliability from E/CFA
fa_reliability(x, ...)
## S3 method for class 'fa'
fa_reliability(x, keys = NULL, threshold = 0, labels = NULL, ...)
## S3 method for class 'lavaan'
fa_reliability(x, ...)
x |
E/CFA model (e.g., the result from |
... |
For |
keys |
optional, see ?psych::make.keys |
threshold |
which values from the loadings should be used? Only used if
|
labels |
optional factor labels |
data("Harman74.cor")
EFA <- psych::fa(Harman74.cor$cov, 4)
fa_reliability(EFA)
HS.model <- " visual =~ x1 + x2 + x3
textual =~ x4 + x5 + x6
speed =~ x7 + x8 + x9 "
CFA <- lavaan::cfa(HS.model, data = lavaan::HolzingerSwineford1939)
fa_reliability(CFA)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.