convertModel: Internal: Convert second order cSEMModel

View source: R/csem_model.R

convertModelR Documentation

Internal: Convert second order cSEMModel

Description

Uses a cSEMModel containing 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.


cSEM documentation built on Nov. 25, 2022, 1:05 a.m.