Change values in row based on a column value r

后端 未结 1 1013
礼貌的吻别
礼貌的吻别 2020-12-11 04:25

I am new to R with a fairly simple question, I just can\'t figure out the answer. For my example I will use a data frame with 3 columns, but my actual data set is 139 column

相关标签:
1条回答
  • 2020-12-11 04:52

    how about:

    x[x$C <10 ,] <- NA
    
    0 讨论(0)
提交回复
热议问题