oneInt
oneInt.Rd
A simulated dataset based on the elementary interaction model.
Examples
m1 <- "
# Outer Model
X =~ x1 + x2 + x3
Z =~ z1 + z2 + z3
Y =~ y1 + y2 + y3
# Inner Model
Y ~ X + Z + X:Z
"
est <- modsem(m1, data = oneInt)
oneInt.Rd
A simulated dataset based on the elementary interaction model.
m1 <- "
# Outer Model
X =~ x1 + x2 + x3
Z =~ z1 + z2 + z3
Y =~ y1 + y2 + y3
# Inner Model
Y ~ X + Z + X:Z
"
est <- modsem(m1, data = oneInt)