Replace values in in a string variable, if presence, coded as 1 in a new dummy variable

前端 未结 0 1623
名媛妹妹
名媛妹妹 2020-11-27 09:22

I have a dataset that looks like the following:

id. string
1   US-EU-MX
2   EU-MX-US
3   US-MX-CA

How do I make a dummy variable based on whe

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