An introduction to the basic functions of the cowplot package for arranging plots together.
Fun and custom-looking alternatives to simple color legends in ggplot2.
Examining the FOGO "trend" and quantifying the impact of faceoffs on the penalty kill.
Writing a user-defined function and applying it iteratively: an example with NHL standings points.
Examining NHL shot locations by arena to look for possible systematic error.