我收到此错误消息:
Error in if (condition) { : missing value where TRUE/FALSE needed
Run Code Online (Sandbox Code Playgroud)
要么
Error in while (condition) { : missing value where TRUE/FALSE needed
Run Code Online (Sandbox Code Playgroud)
它是什么意思,我该如何预防呢?
有一天R-gotcha让你真的感到惊讶吗?我想我们都可以分享这些.
这是我的:在列表索引中,my.list[[1]]不是my.list[1].在R的早期学到了这一点.
为什么我们可以使用ifelse(),但不能else if(){}在with()或within()声明?
我听说第一个是可矢量化而不是后者.这是什么意思 ?
我收到了错误
Error in if (condition) { : argument is not interpretable as logical
Run Code Online (Sandbox Code Playgroud)
要么
Error in while (condition) { : argument is not interpretable as logical
Run Code Online (Sandbox Code Playgroud)
它是什么意思,我该如何预防呢?