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 |
Value
A SEMinR model.
See Also
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]