[R] Merge partially duplicated rows

Rnewbie xuancj at yahoo.com
Mon Aug 3 15:24:24 CEST 2009

Dear all,

I have a dataset, and I wanted to merge the rows with duplicated IDs by
calculating the means or medians from the duplicate rows. I tried using the
command duplicated(x), but it only tells where the duplicated rows are.

Any suggestions will be appreciated.
View this message in context: http://www.nabble.com/Merge-partially-duplicated-rows-tp24790752p24790752.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list