# NOT RUN {
#============================================================================
# Example is taken from Henseler (2020)
#============================================================================
model_Int <-"
# Measurement models
INV =~ INV1 + INV2 + INV3 +INV4
SAT =~ SAT1 + SAT2 + SAT3
INT =~ INT1 + INT2
# Structural model containing an interaction term.
INT ~ INV + SAT + INV.SAT
"
out <- csem(.data = Switching, .model = model_Int,
.PLS_weight_scheme_inner = 'factorial',
.tolerance = 1e-06)
# }
Run the code above in your browser using DataLab