[R] set_seed

Nikom Thanomsieng nikom at kku1.kku.ac.th
Tue Mar 7 19:19:07 CET 2000

Dear Sir,
   I would like to set seed in R before this command
>B <- 10
>x <- rnorm(15)
  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

More information about the R-help mailing list