mediation_latent_skewed | R Documentation |
Generated from a three-factor model with nine variables, n = 150, with some observed variables positively skewed.
mediation_latent_skewed
A data frame with 150 rows and nine variables:
x1
x2
x3
x4
x5
x6
x7
x8
x9
This model is used for examples like this one:
mod <- " fx =~ x1 + x2 + x3 fm =~ x4 + x5 + x6 fy =~ x7 + x8 + x9 fm ~ a*fx fy ~ b*fm + cp*fx ab := a*b " fit <- lavaan::sem(mod, mediation_latent)
print(head(mediation_latent_skewed), digits = 3)
nrow(mediation_latent_skewed)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.