In the doc for split, the factor g is unordered, so the illustrative code x <- rnorm(n * nn) + sqrt(codes(g)) should be x <- rnorm(n * nn) + sqrt(as.numeric(g)) -- Bob Wheeler --- (Reply to: bwheeler@echip.com) ECHIP, Inc. --- (302) 239-6620, voice and FAX 724 Yorklyn Rd., Hockessin, DE 19707 Randomness comes in bunches -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel 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-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._