csem2seminr {seminr}R Documentation

seminr csem2seminr() function

Description

Converts lavaan syntax for composite models used by cSEM package to SEMinR model specifications

Usage

csem2seminr(lav_syntax)

Arguments

lav_syntax

A string specifying the composite model measurement and structure using lavaan syntax

Value

A SEMinR model.

See Also

estimate_pls

Examples

lav_syntax <- '
  # Composite model
  Image <~ IMAG1 + IMAG2 + IMAG3 + IMAG4 + IMAG5
  Expectation <~ CUEX1 + CUEX2 + CUEX3
  Value  <~ PERV1  + PERV2
  Satisfaction <~ CUSA1 + CUSA2 + CUSA3

  # Structural model
  Satisfaction ~ Image + Expectation + Value
'

csem_model <- estimate_pls(mobi, model = csem2seminr(lav_syntax))


[Package seminr version 2.3.3 Index]