Ive read about the plyr package and assume that ddply instead of the tapply to force the result into a dataframe should work, but I can not figure out how to get that to even work because I can not get it to do the functions I would need such as the mean, min, max, & range...