【发布时间】:2021-03-11 23:36:02
【问题描述】:
我正在尝试在分段SEM 包中使用与 psem 交互的术语,但出现以下错误:
名称错误(B)
lme(response1 ~ predictor1 * predictor2, data),
lme(response2 ~ predictor1 * predictor2, data),
...)```
lme is in the nlme package
predictor1 is an integer of 7 levels
predictor2 is a factor of 2 levels
The model alone runs fine outside of psem, though. I could not find a reference as to why interaction terms will not work in the function psem.
I appreciate any insights on this. Thanks!
【问题讨论】:
标签: interaction nlme piecewise