Description Usage Arguments Value Examples
Conduct latent variable model analysis (structural equation modeling)
1 |
robust |
Logial indicating whether to use a robust estimator. |
... |
Model formula to be estimated. |
data |
Data frame containing variables in model |
A model object
1 2 3 4 5 6 7 8 9 10 11 | ## specify sem model and estimate
m1 <- polcom %>%
tidy_sem_model(news =~ news_1 + news_2 + news_3 + news_4 + news_5 + news_6,
ambiv_sexism =~ ambiv_sexism_1 + ambiv_sexism_2 + ambiv_sexism_3 +
ambiv_sexism_4 + ambiv_sexism_5 + ambiv_sexism_6,
partisan =~ a*therm_1 + a*therm_2,
ambiv_sexism ~ age + sex + hhinc + edu + news + partisan)
## view summary
m1 %>%
tidy_summary()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.