specify_model: seminr specify_model() function

View source: R/specify_models.R

specify_modelR Documentation

seminr specify_model() function

Description

Combines model components together into a single specified_model object for estimation functions

Usage

specify_model(
  measurement_model,
  structural_model = NULL,
  item_associations = NULL
)

Arguments

measurement_model

An optional measurement_model object representing the outer/measurement model, as generated by constructs.

structural_model

An optional smMatrix object representing the inner/structural model, as generated by relationships.

item_associations

An item-to-item matrix representing error covariances that are freed for estimation. This matrix is created by associations(), or defaults to NULL (no inter-item associations).

Value

A list containing a SEMinR measurement model, structural model, and item associations.

See Also

estimate_pls estimate_cbsem estimate_cfa


seminr documentation built on Oct. 14, 2024, 1:07 a.m.