cfa_two_factors | R Documentation |
Generated from a two-factor model with six variables, n = 500
cfa_two_factors
A data frame with 500 rows and six variables, x1
to x6
.
This model is used for examples like this one:
library(lavaan) mod <- "f1 =~ x1 + x2 + x3 f2 =~ x4 + x5 + x6" fit <- cfa(mod, cfa_two_factors) summary(fit)
print(head(cfa_two_factors), digits = 3)
nrow(cfa_two_factors)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.