Main page: https://www.rdocumentation.org/packages/datasets/versions/3.6.2/topics/randu
head(randu)
## x y z
## 1 0.000031 0.000183 0.000824
## 2 0.044495 0.155732 0.533939
## 3 0.822440 0.873416 0.838542
## 4 0.322291 0.648545 0.990648
## 5 0.393595 0.826873 0.418881
## 6 0.309097 0.926590 0.777664
## We could re-generate the dataset by the following R code
seed <- as.double(1)
RANDU <- function() {
seed <<- ((2^16 + 3) * seed) %% (2^31)
seed/(2^31)
}
for(i in 1:50) {
U <- c(RANDU(), RANDU(), RANDU(), RANDU(), RANDU())
print(round(U[1:3], 6))
}
## [1] 0.000031 0.000183 0.000824
## [1] 0.044495 0.155732 0.533939
## [1] 0.822440 0.873416 0.838541
## [1] 0.322291 0.648545 0.990648
## [1] 0.393595 0.826873 0.418881
## [1] 0.309097 0.926590 0.777664
## [1] 0.826368 0.308540 0.413932
## [1] 0.729424 0.741526 0.884338
## [1] 0.317649 0.393468 0.501968
## [1] 0.599793 0.846041 0.678107
## [1] 0.647603 0.281525 0.860719
## [1] 0.547048 0.948790 0.769314
## [1] 0.529873 0.348011 0.319211
## [1] 0.908040 0.013456 0.908380
## [1] 0.835195 0.814513 0.370327
## [1] 0.068696 0.275943 0.037394
## [1] 0.984329 0.927687 0.707165
## [1] 0.945783 0.689675 0.626002
## [1] 0.017137 0.166494 0.844727
## [1] 0.772506 0.282393 0.741801
## [1] 0.493080 0.943686 0.224398
## [1] 0.919386 0.618783 0.438229
## [1] 0.964342 0.025198 0.472110
## [1] 0.864672 0.711721 0.488282
## [1] 0.786249 0.961377 0.692023
## [1] 0.123862 0.810826 0.750198
## [1] 0.990536 0.706806 0.326013
## [1] 0.455714 0.020492 0.021528
## [1] 0.345516 0.800801 0.695158
## [1] 0.482433 0.160464 0.620887
## [1] 0.063100 0.488463 0.362880
## [1] 0.494563 0.180498 0.631916
## [1] 0.386052 0.482467 0.420333
## [1] 0.156384 0.276557 0.251881
## [1] 0.999850 0.198618 0.193051
## [1] 0.585455 0.129442 0.507559
## [1] 0.361887 0.743469 0.203826
## [1] 0.350248 0.897698 0.233957
## [1] 0.126752 0.190162 0.000203
## [1] 0.812634 0.245063 0.156666
## [1] 0.369723 0.248908 0.165943
## [1] 0.437286 0.268675 0.676477
## [1] 0.771568 0.821389 0.984216
## [1] 0.697878 0.217688 0.025225
## [1] 0.826174 0.623633 0.306233
## [1] 0.530293 0.852871 0.344595
## [1] 0.968455 0.569763 0.702484
## [1] 0.415824 0.696233 0.434983
## [1] 0.793458 0.429293 0.434638
## [1] 0.622709 0.755610 0.929275