Flexibly restructure and aggregate data using just two functions: melt and 'dcast' (or 'acast').
This version of reshape2 can be found in the following snapshots: