How to loop through column names while creating a lagged new variable in R?

前端 未结 0 552
悲哀的现实
悲哀的现实 2021-01-01 01:44

I have some epidemiological data whose indexes are cities and dates. I would like to lag some columns to a few days prior, as I intend to use those variables in a regression

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