I am newbie to R and hence struggling to figure out on how to retrive the complete list of fields / columns from the data frame with in aggregate function.
For example, I have a data frame df with 200+ fields. Now, I would like to group the data frame on a particular field df.a and then order by another field df.b. However, in the output data frame, I want each of the rows containing all the 200+ fields instead of only df.a and df.b fields.
Please help me understand how to achieve this.