Displaying 1 result from an estimated 1 matches for "t2009".
Did you mean:
2009
2009 Mar 11
1
Reshape question.
...009, id.var=c("DayOfYear","Category","SubCategory","Sku"), measure.var=c("Quantity"), na.rm=TRUE)
Then I start to formulate the data that I will process:
c2009 <- cast(m2009, DayOfYear ~ variable | Category, sum)
Finally I aggregate the data:
t2009 <- cast(m2009, DayOfYear ~ variable, sum)
My question is on the third step above (repeated here)
c2009 <- cast(m2009, DayOfYear ~ variable | Category, sum)
This gets the data assocated with a unique 'Category' name. I want to get the data grouped by 'Category' and 'SubC...