Re: [R] permutation operator

From: Peter Dalgaard <>
Date: Sun, 06 May 2007 22:46:31 +0200

Jiao Yang wrote:
> Dear all,
> I was wondering whether R has an operator or function that randomly permutes the element of a vector.
Yes, it does.

Oh, you wanted to know what it is called, too?

sample(x) mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Sun 06 May 2007 - 20:52:52 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 06 May 2007 - 21:31:55 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.