From sta6ajb@leeds.ac.uk  Thu Oct 10 13:05:50 2002
From: sta6ajb@leeds.ac.uk (sta6ajb@leeds.ac.uk)
Date: Thu, 10 Oct 2002 14:05:50 +0200 (MET DST)
Subject: Documentation for randu() (PR#2141)
Message-ID: <200210101205.OAA15829@pubhealth.ku.dk>

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


Documentation for randu() (PR#2141)
sta6ajb@leeds.ac.uk