Description Usage Arguments Examples
Creates a table that includes reliability parameters (Cronbach's alpha, omegas, and average variance extracted).
1 |
object |
An object of class |
var |
Character value that indicates which variables should be printed. If not specified, all variables will be returned. |
total |
Logical value indicating if total estimates should be printed. |
print |
Logical value indicating whether the resulting table should be formatted acccording to APA guidelines. |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | library(lavaan)
model <- '
# latent variables
ind60 =~ x1 + x2 + x3
dem60 =~ y1 + y2 + y3 + y4
dem65 =~ y5 + y6 + y7 + y8
# regressions
dem60 ~ ind60
dem65 ~ ind60 + dem60
# residual covariances
y1 ~~ y5
y2 ~~ y4 + y6
y3 ~~ y7
y4 ~~ y8
y6 ~~ y8
'
fit <- sem(model,
data = PoliticalDemocracy)
rel_table(fit)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.