Added plyr functions for data transformation comparision.