在if/while(條件){:在真/假需要的情況下丟失值時出錯我收到了以下錯誤消息:Error in if (condition) { : missing value where TRUE/FALSE needed或Error in while (condition) { : missing value where TRUE/FALSE needed這意味著什么,我該如何預(yù)防?
2 回答

慕桂英546537
TA貢獻(xiàn)1848條經(jīng)驗 獲得超10個贊
if (x == NULL || x == '') {
if (is.null(x) || x == '') {
- 2 回答
- 0 關(guān)注
- 1886 瀏覽
添加回答
舉報
0/150
提交
取消