Learn R Programming

semtree (version 0.9.20)

semforest: 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,
  ...
)

Value

A semforest object.

Arguments

model

A template SEM. Same as in semtree.

data

A dataframe to create a forest from. Same as in semtree.

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.

Author

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

semtree