cfa_evar_near_zero | R Documentation |
Generated from a two-factor model, with one standardized error variance close to zero.
cfa_evar_near_zero
A data frame with 120 rows and six variables, x1
to x6
This model is used for examples like this one:
# If fitted by the following model, the standardized # error variance of `x3` is close to zero. # Consequently, the R-square of `x3` is close to one: library(lavaan) mod <- "f1 =~ x1 + x2 + x3 f2 =~ x4 + x5 + x6" fit <- cfa(mod, cfa_evar_near_zero) summary(fit, standardized = TRUE, rsquare = TRUE)
print(head(cfa_evar_near_zero), digits = 3)
nrow(cfa_evar_near_zero)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.