How to create a binary variable in R?

后端 未结 0 1075
说谎
说谎 2021-02-07 09:14

I want to assign 1 to the one that contains name and 0 to the missing one. I tried to use ifelse, but can not get it running. Thanks for your help.

[I am proviadi         


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