| is_interaction_model | R Documentation |
Check if model object has interaction terms
is_interaction_model(object)
object |
An object of class |
Logical. TRUE if the model has an interaction term,
otherwise it returns FALSE.
m1 <- '
# Outer Model
X =~ x1 + x2 + x3
Z =~ z1 + z2 + z3
Y =~ y1 + y2 + y3
# Inner Model
Y ~ X + Z + X:Z
'
est_dca <- modsem(m1, oneInt, method = "dblcent")
is_interaction_model(est_dca)
## Not run:
est_lms <- modsem(m1, oneInt, method = "lms")
is_interaction_model(est_lms)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.