R function ifelse returning only evaluation of the last row

后端 未结 0 1524
暖寄归人
暖寄归人 2020-12-28 23:13

I have a 200 x 10 matrix of digits , either 2 or 7 called predictions.

I\'m trying to return the majority for each row using this code.

for(i in 1:nrow         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题