r - 1:l 中的错误:Yhat 错误中长度为 0 的参数
问题描述
我是 R 的初学者,到目前为止一切都进行得很顺利。我正在努力提高我的成绩。谁能发现我做错了什么?
这些是我的步骤:
load(boot)
load(yhat)
lm.out<-lm(oWE ~ T1DF + T1DC + FA + PI + JC, data = Final_Dataset_mplus)
calc.yhat(lm.out) ##this works
booteval.yhat(lm.out) ##to bootstrap the results
# Error in 1:l : argument of length 0 ##here it does not work anymore.
其他信息:Windows 10 家庭版、RStudio 桌面版 1.4.1717
解决方案
推荐阅读
- java - 我把我上传的官方应用程序用Android带到服务器,但我不能显示它
- three.js - 三.js让相机看向外面而不是中心
- android - 切换按钮应重定向到包可访问性
- javascript - 当 DOMNodeInserted 事件被触发时,upadateCount 函数按预期工作,但当 DOMNodeRemoved 被触发时,它又以相同的函数为目标?
- html - Html 中的红色和粗体文本
- google-apps-script - 如何使用 google protobuf 进行编码和解码?(google 应用程序脚本)
- node.js - TypeScript:指定回调错误,res 类型正确
- wordpress - 此代码每次都会增加 5+ [Total Post View Wordpress]
- java - C3P0 池已满而不是结帐超时
- javascript - 函数未定义错误,但没有导致此错误