Coding dichotomous variable based on changes in the relative highest score between a set of variables

前端 未结 0 756
花落未央
花落未央 2021-02-06 02:53

I want to code a new variable in a dataframe based on a set of rules. I have a dataframe df1 with a subject variable, a time variable, and variables A, B and C, like this:

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