Select previous row from the given parameters
Select previous row from the given parameters Question: I have a data frame that looks like this: id code date 1 37 2022-01-11 1 22 2021-10-01 1 39 2019-02-11 1 21 2018-10-08 1 17 2018-09-19 1 18 2018-09-10 1 39 2017-03-20 1 36 2017-02-28 1 34 2017-02-14 1 31 2017-01-20 1 21 2016-11-17 1 17 …