Adding class notes for week 4. Note: All slides are taken from a presentation originally given by Garrett Grolemund at UseR 2014 and shared under a Creative Commons License.