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 any way that I can get the same set of 100 bootstrap > re-samples at each re-run of my codes? Something like setting the seed > in a random number generator... > > Any help is very much appreciated. > > Thanks, > Majnu > > [[alternative HTML version deleted]] > > ______________________________________________ > [email protected] 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. >
-- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40" S 49° 16' 22" O ______________________________________________ [email protected] 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.

