Skip to content
Back to formatted view

Raw Message

Message-ID: <38C54817.18A1E85B@kku1.kku.ac.th>
Date: 2000-03-07T18:19:07Z
From: Nikom Thanomsieng
Subject: set_seed

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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._