StatQuest: GLMs Pt.3 – Design Matrix Examples in R October 3, 2017 Here’s the link to the code on the StaQuest GitHub.