[R] Sorting Dataframes

David Winsemius dwinsemius at comcast.net
Tue Jun 7 21:09:04 CEST 2011


SamiC wrote:
> 
> 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
> 

Post a small example that contains sufficient complexity to represent the
problem and also post what you consider to be the correct answer.

-- 
David.

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



More information about the R-help mailing list