Create index for sequential occurences in group

前端 未结 0 1044
感情败类
感情败类 2021-01-04 18:35

I have a large dataframe in R, two groups might look like this:

id     tnr
1      1
1      1-3
1      4
1      5
1      6
1      6-8
1      8-9
1      10
1            


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