Open NeuroShepherd opened 1 year ago
See section 4 of this article for discussion on seeding https://onlinelibrary.wiley.com/doi/10.1002/sim.8086
R uses Mersenne-Twister as default which some people consider to be good enough, and some call for a replacement method https://arxiv.org/pdf/1910.06437.pdf
See also https://cran.r-project.org/web/packages/dqrng/vignettes/dqrng.html for xoroshiro RNG implementation
The current default random seeding approach is to set the seed for each run as equal to the run number, e.g. run number 5 includes
set.seed(5)
. This should be clearly documented in at least two places IMO: