Re: [R] delete duplicated conditional

2009-08-28 Thread Christian Schulz
i get it. aposSorted <- apos[order(apos[,620],decreasing=TRUE),] nodups <- aposSorted[!duplicated(aposSorted[,1]),c(1,620)] Hi, have anybody a hint, how i could keep the duplicated with a condition in a second column, i.e. maximum in column 620. nodups <- apos[!duplicated(apos[,1]),c(1,620)

[R] delete duplicated conditional

2009-08-28 Thread Christian Schulz
Hi, have anybody a hint, how i could keep the duplicated with a condition in a second column, i.e. maximum in column 620. nodups <- apos[!duplicated(apos[,1]),c(1,620)] many thanks Christian __ R-help@r-project.org mailing list https://stat.ethz.ch/