convertModel | R Documentation |
Uses a cSEMModel containing second order constructs and turns it into an estimable model using either the "2stage" approach or the "mixed" approach.
convertModel( .csem_model = NULL, .approach_2ndorder = "2stage", .stage = "first" )
.csem_model |
A (possibly incomplete) cSEMModel-list. |
.approach_2ndorder |
Character string. Approach used for models containing second-order constructs. One of: "2stage", or "mixed". Defaults to "2stage". |
.stage |
Character string. The stage the model is needed for. One of "first" or "second". Defaults to "first". |
A cSEMModel list that may be passed to any function requiring
.csem_model
as a mandatory argument.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.