cfa_two_factors {semlbci} | R Documentation |
Dataset (CFA, Two Factors, Six Variables)
Description
Generated from a two-factor model with six variables, n = 500
Usage
cfa_two_factors
Format
A data frame with 500 rows and six variables, x1
to x6
.
Details
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)
Examples
print(head(cfa_two_factors), digits = 3)
nrow(cfa_two_factors)
[Package semlbci version 0.11.2 Index]