Re: [R] how to randomize a vector

2007-11-11 Thread leffgh
s immediately and delete this email. > > > > > >> -Oprindelig meddelelse- >> Fra: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] På vegne af leffgh >> Sendt: 12. november 2007 07:50 >> Til: r-help@r-project.org >> Emne: [R] how to ra

Re: [R] how to randomize a vector

2007-11-11 Thread Frede Aakmann Tøgersen
AIL PROTECTED] På vegne af leffgh > Sendt: 12. november 2007 07:50 > Til: r-help@r-project.org > Emne: [R] how to randomize a vector > > > I have a vector whose length is nearly 70 thousand. > I need randomize it for 1000 times . > for randomizing , I mean ,the elemen

Re: [R] how to randomize a vector

2007-11-11 Thread Prof Brian Ripley
?sample On Sun, 11 Nov 2007, leffgh wrote: > > 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

[R] how to randomize a vector

2007-11-11 Thread leffgh
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 l