Skip to content
Prev 4770 / 398521 Next

set_seed

Dear Sir,
   I would like to set seed in R before this command
for (i in 1:B)
 {boot.sample <- print(sample(x,replace=T))
}
...
for reason of stable of data output. How I do ?

Best Regards,
Nikom Thanomsieng
Department of Biostatistics & Demography,
Faculty of Public Health,
Khon Kaen University, Thailand.

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._