### Shift the measurement time for a better estimation of the intercept
ex <- shift(example_A24, value = -1996)
plm(ex)
# Please use transform instead:
example_A24 |>
transform(year = year - 1996) |>
plm()
Run the code above in your browser using DataLab