Dear Bill.. .great, thanks for your quick response. Cheers
Nico On 3/7/2011 8:16 PM, [email protected] wrote:
i<- with(pop, cumsum(!duplicated(cbind(xloc, yloc))))k<- 2 ## how many do you want? no<- min(which(i == k)) pop[1:no, ]
______________________________________________ [email protected] 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.

