(R) Create a variable in a new column, and assign values to that variable, based on values of variables in other columns

前端 未结 0 602
闹比i
闹比i 2020-11-29 02:18

My data frame has 4 columns. (and roughly 90.000 entries)

  1. person ID
  2. variable 1 (has value either: -1,1,2,3)
  3. variable 2 (has value either: -1,1
相关标签:
回答
  • 消灭零回复
提交回复
热议问题