oh, thank you ,
I used the "sample"function to generate new subordinates
but never think that it can directly act on the vector .
thank you very much.
Frede Aakmann Tøgersen wrote:
>
> Why didn't you do this in R?
>
>> help.search("random sample")
> Help files with alias or concept or titl
Why didn't you do this in R?
> help.search("random sample")
Help files with alias or concept or title matching 'random sample'
using fuzzy matching:
sample(base)Random Samples and Permutations
Type 'help(FOO, package = PKG)' to inspect entry 'FOO(PKG) TITLE'.
>
See ?sample, e.g
?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
3 matches
Mail list logo