search for: totcost

Displaying 1 result from an estimated 1 matches for "totcost".

Did you mean: topmost
2011 Sep 26
1
producing an aggregate table of top 3 by cost
Help-Rs   As someone who is newer to R and trying to make the transition from Access into R, there is a frequetnly used function that I'd like to try and duplicate in the R world.  It involved creating an aggregate table of the top (n)  orders for an item by sum of cost over a select period of time.   So, take the following example :   group <- c(rep(1,10), rep(2,10), rep(3,10)) product