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)
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/
2 matches
Mail list logo