R: is there a way to find previous row to a specific value?

后端 未结 0 1922
清歌不尽
清歌不尽 2020-12-04 19:27

I am looking for the entry that occurs prior to every first entry of a specific value in my dataset.

df:
 encounter mode value
1          1    a   100
2               


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