[R] rearrange set of items randomly

flokke flokke at live.de
Tue Nov 8 17:31:38 CET 2011


Thanks for the replies!

Indeed, I could use order() instead of sample()  but that it wouldnt be
random anymore, as it sorts data points in increasing(!) order. Second, I
have to use 1000 different samples. 

I got the hint that I have to do somethin with indeces, but still cant
figure out what this should be. 
Maybe someone of you knows?

--
View this message in context: http://r.789695.n4.nabble.com/rearrange-set-of-items-randomly-tp4013723p4016613.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list