get_pi_syntax()
is a function for creating the lavaan
syntax used for estimating
latent interaction models using one of the product indicators in lavaan
.
Arguments
- model.syntax
lavaan
syntax- method
method to use:
"rca"
= residual centering approach,"uca"
= unconstrained approach,"dblcent"
= double centering approach,"pind"
= prod ind approach, with no constraints or centering,"custom"
= use parameters specified in the function call- match
should the product indicators be created by using the match-strategy
- ...
arguments passed to other functions (e.g., modsem_pi)