View source: R/import_lavaan_syntax.R
csem2seminr | R Documentation |
Converts lavaan syntax for composite models used by cSEM
package to SEMinR
model specifications
csem2seminr(lav_syntax)
lav_syntax |
A |
A SEMinR model.
estimate_pls
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))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.