如何解决我可以在分段扫描电镜中使用与 psem 的交互项吗?
我正在尝试在piecewiseSEM包中使用与psem交互的术语,但出现以下错误:
名称错误(B)
lme(response1 ~ predictor1 * predictor2,data),lme(response2 ~ predictor1 * predictor2,...)```
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!
解决方法
更新:
此 SEM 仅在 predictor2 为整数时才有效
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。