全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 R语言论坛
510 0
2021-12-20
我想设立一个结构方程模型(sem)的循环,用的lavvan包,但是他这样报错怎么办?
复制代码
报错:Error in lavParseModelString(model) :
  lavaan ERROR: left hand side (lhs) of this formula:
    mydata[,i+19] ~ mydata[,i]+mydata[,i+1]
    contains either a reserved word (in R) or an illegal character: “mydata[,i”“19]”
    See ?reserved for a list of reserved words in R
    Please use a variable name that is not a reserved word in R
    and use only characters, digits, or the dot symbol.
附件列表
1.png

原图尺寸 24.88 KB

1.png

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群