Documentation for randu() (PR#2141)
sta6ajb@leeds.ac.uk
sta6ajb@leeds.ac.uk
Thu, 10 Oct 2002 14:05:50 +0200 (MET DST)
Full_Name: Andrew J. Baczkowski
Version: 1.1.1, 1.5.0
OS: NT, unix
Submission from: (NULL) (129.11.159.161)
Help documentation for randu() has incorrect R code in Example.
Should replace line 4
seed <<- ((2^16) + 3) * seed)
by
seed <<- ((2^16) + 3) * seed) %% (2^31)
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._