It seems like melt will reshape your data frame with id columns and stacked measured variables after which a cast lets you perform aggregation. ddply, from the plyr package seems to be very similar..you give it a data frame, a couple of column variables for grouping, and an aggregation function and you get back a data frame...so how are they different and are there any good resources/references to share for learning these tools besides their documentation (which, especially for reshape, is a bit difficult to follow)
Thanks