[R] randomly permuting rows or col's of a matrix

Pascal A. Niklaus Pascal.Niklaus at unibas.ch
Tue Nov 25 11:20:37 CET 2003

Is there an shortcut (compared to "manually" swap row vectors) for the 
random permutation of rows of a matrix?

"sample" does not act on the element row vectors as a whole.



More information about the R-help mailing list