apply a function to multiple columns to change observations conditionally

前端 未结 0 1808
执笔经年
执笔经年 2020-11-22 00:49

Can any one suggest dplyr solution to recode values into 1 and 0 based on some cutoff like x > 0.5. I got the solution by applying apply but i need dplyr so

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