Creating a new variable while looking back at previous rows

前端 未结 0 1476
旧时难觅i
旧时难觅i 2021-01-23 08:51

I have a simple dataset of patient visits:

date        infection
2005-01-01  yes
2005-06-30  yes
2005-10-15  yes
2006-01-01  no
2006-06-01  no
2006-11-01  yes
200         


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