"John Fox" <[EMAIL PROTECTED]> writes: > Dear Dax, > > I'll bet that someone comes up with a better approach, but the following > does appear to work: > > u <- unique(t(sapply(as.data.frame(t(h)), sort)))
Or maybe just unique(t(apply(h,1,sort))) -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - ([EMAIL PROTECTED]) FAX: (+45) 35327907 ______________________________________________ [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
