create new column with mutate() when value in any of several other columns is TRUE (or 1)

后端 未结 0 709
情歌与酒
情歌与酒 2021-02-05 07:57

I have a dataframe (my_dataframe) with 5 columns. All have 0 or 1 values. I would like to create a new column called cn7_any, which should have values of 1 when any values from

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