Thanks to all who suggested the sample() function; it was very easy to use: Usman Shehu, Prof. Brian Ripley, gb (goran), Tom Richards, Chuck Cleland, Denis White, Karl Broman, and Erin Hodgess. Also thanks to Prof. Ripley for suggestions of general R code to reach the same end. Scot -- Scot W. McNary email:smcnary at charm.net -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._