Using if to mutate

前端 未结 0 1486
情话喂你
情话喂你 2020-12-07 04:21

I have a data frame which has incomes of participants, I want to create a new columns using mutate from {dplyr}. However, \'if\' does not work.

For instance, I can do

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