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.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to