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,
...
)
A semforest object.
A template SEM. Same as in semtree
.
A dataframe to create a forest from. Same as in semtree
.
A semforest control object to set forest parameters.
An optional list of covariates. See semtree code example.
An optional list of covariates. See semtree code example.
Optional parameters.
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