semforest | R Documentation |
Grows a SEM Forest from a template model and a dataset. This may take some time.
semforest(
model,
data,
control = NULL,
predictors = NULL,
constraints = NULL,
...
)
model |
A template SEM. Same as in |
data |
A dataframe to create a forest from. Same as in |
control |
A semforest control object to set forest parameters. |
predictors |
An optional list of covariates. See semtree code example. |
constraints |
An optional list of covariates. See semtree code example. |
... |
Optional parameters. |
A semforest object.
Andreas M. Brandmaier, John J. Prindle
Brandmaier, A.M., Prindle, J. J., McArdle, J. J., & Lindenberger, U. (2016). Theory-guided exploration with structural equation model forests. Psychological Methods, 21(4), 566–582.
Brandmaier, A.M., Oertzen, T. v., McArdle, J.J., & Lindenberger, U. (2013). Structural equation model trees. Psychological Methods, 18(1), 71–86.
semtree
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.