Rev 5633 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
\name{randu}\alias{randu}\title{Random Numbers from Congruential Generator}\usage{data(randu)}\description{400 triples of successive random numbers were taken from the VAXFORTRAN function RANDU running under VMS 1.5.}\details{In three dimensional displays it is evident that the triples fall on15 parallel planes in 3-space. This can be shown theoretically to betrue for all triples from the RANDU generator.These particular 400 triples start 5 apart in the sequence, that isthey are ((U[5i+1], U[5i+2], U[5i+3]), i= 0, \dots, 399), and theyare rounded to 6 decimal places.Under VMS versions 2.0 and higher, this problem has been fixed.}\format{A data frame with 400 observations on 3 variables named \code{x},\code{y} and \code{z} which give the first, second and third randomnumber in the triple.}\source{David Donoho}\examples{\dontrun{## We could re-generate the dataset by the following R codeseed <- as.double(1)RANDU <- function() {seed <<- ((2^16 + 3) * seed) %% (2^31)seed/(2^31)}for(i in 1:400) {U <- c(RANDU(), RANDU(), RANDU(), RANDU(), RANDU())print(round(U[1:3], 6))}}}\keyword{datasets}