[R] Sorting Dataframes

SamiC s.cox.10 at aberdeen.ac.uk
Tue Jun 7 18:15:56 CEST 2011


I am a new user, and i am trying to sort out a data frame.

I have for example bins of data.  Within each bin i have multiple counts of
animals and the depths at which these count were taken.  How would I
summarise this to being only the maximum count per bin alongisde the
corresponding height (but not the maximum depth - i want the depth at which
the maximum number of animals occurs).


Thank you


--
View this message in context: http://r.789695.n4.nabble.com/Sorting-Dataframes-tp3580075p3580075.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list