There is a panle dataset. I have to compute a new variable "cases_new"=3^(lag(cases,n=1L)) for the first date alone. Then the 2nd date onwards, it uses lag on its