Code for Data Manipulation with R by Phil Spector