Data manipulation with R - Spector, Phil. (Use R!, 2008)