powered by
This function calls the runif.sobol, runif.sobol.owen and runif.halton essentially from the spacefillr package.
runif.sobol
runif.sobol.owen
runif.halton
fun.gen.qrn(n, dimension, scrambling, FUN = "runif.sobol")
A vector of values if dimension=1, otherwise a matrix of values between 0 and 1.
Number to generate.
Number of dimensions.
seed used, or leap as in the case of QUnif.
QUnif
This can be "runif.sobol" (default), "runif.sobol.owen", "runif.halton" or "QUnif".
"runif.sobol"
"runif.sobol.owen"
"runif.halton"
"QUnif"
Steve Su
fun.gen.qrn(1000,5,3,"runif.sobol") fun.gen.qrn(1000,5,409,"QUnif")
Run the code above in your browser using DataLab