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.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to