semforest {semtree} | R Documentation |
Create a SEM Forest
Description
Grows a SEM Forest from a template model and a dataset. This may take some time.
Usage
semforest(
model,
data,
control = NULL,
predictors = NULL,
constraints = NULL,
...
)
Arguments
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. |
Value
A semforest object.
Author(s)
Andreas M. Brandmaier, John J. Prindle
References
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.
See Also
[Package semtree version 0.9.20 Index]