GLM tips: get non-linear with splines
This tip is great for a quick non-linear test, before you go all the way
with a GAM or parametric non-linear model.
You’ll need the splines library, which comes shipped with R anyway.
First, let’s make up a ... [Read more...]