randomSlopes: randomSlopes

randomSlopesR Documentation

randomSlopes

Description

A simulated dataset.

Examples



syntax <- "
  X =~ x1 + x2 + x3
  Z =~ z1 + z2 + z3
  Y =~ y1 + y2 + y3
  W =~ w1 + w2 + w3
  Y ~ X + Z + (1 + X + Z | cluster)
  W ~ X + Z + (1 + X + Z | cluster)
"

fit <- pls(syntax, data = randomSlopes)
fit


plssem documentation built on Sept. 26, 2026, 5:06 p.m.