Fill with ones below the first match with a number for each id

后端 未结 0 613
借酒劲吻你
借酒劲吻你 2020-11-27 10:20

I have a panel data structure with 32 IDs and observations from 1980 to 2010. It looks like this (only with id 1 and 2).

dput(a)
structure(list(id = c(1L, 2L,         


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