I have a vector whose length is nearly 70 thousand.
I need randomize it for 1000 times .
for randomizing , I mean ,the elements of the vector remain intact while
their order in the vector get changed randomly.
I have written a function which seems to be able to solve short vectors ,
but waste  a lot of time when dealing with the the long vector mentioned
above.
 
-- 
View this message in context: 
http://www.nabble.com/how-to-randomize-a-vector-tf4789292.html#a13700770
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