R arrange only if column takes on a specific value

前端 未结 0 1300
生来不讨喜
生来不讨喜 2020-12-03 18:08

How to arrange a column/df only if a column takes on a specific value. Consider the following example:

df <- data.frame(a = c(1,1,1,2,2,2),
                        


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