Re: [R] bootstrap sampling using sample

2008-01-29 Thread Henrique Dallazuanna
see ?set.seed On 29/01/2008, Majnu John <[EMAIL PROTECTED]> wrote: > Hello All, > > I used sample(..., replace = TRUE) repeatedly to generate 100 > bootstrap samples of a data that I'm working with. If I re-run my codes, > it'll generate a different set of 100 bootstrap samples. > > Is there a

[R] bootstrap sampling using sample

2008-01-29 Thread Majnu John
Hello All, I used sample(..., replace = TRUE) repeatedly to generate 100 bootstrap samples of a data that I'm working with. If I re-run my codes, it'll generate a different set of 100 bootstrap samples. Is there any way that I can get the same set of 100 bootstrap re-samples at each re-run