The difference is that poly()
ensures that the linear and quadratic terms have a zero correlation, which allows you to interpret them as the actual linear and quadratic parts of the yearsfromStart
effect.
Note that you should use poly(yearsFromStart, 2)
only, without adding the linear predictor as well. This is because poly()
decomposes into two predictors in your model.