Learn R Programming

cSEM (version 0.3.1)

convertModel: Internal: Convert second order cSEMModel

Description

Uses a cSEMModel containg second order constructs and turns it into an estimable model using either the "2stage" approach or the "mixed" approach.

Usage

convertModel(
 .csem_model        = NULL, 
 .approach_2ndorder = "2stage",
 .stage             = "first"
 )

Arguments

.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".

Value

A cSEMModel list that may be passed to any function requiring .csem_model as a mandatory argument.