fun.gen.qrn: Finds the low discrepancy quasi random numbers

Description Usage Arguments Value Author(s) References See Also Examples

Description

This function calls the link{runif.sobol} and runif.halton from the fOptions package and QUnif from sfsmisc package.

Usage

1
fun.gen.qrn(n, dimension, scrambling, FUN = "runif.sobol")

Arguments

n

Number to generate.

dimension

Number of dimensions.

scrambling

Scrambling method used, or leap as in the case of QUnif.

FUN

This can be "runif.sobol" (default), "runif.halton" or "QUnif".

Value

A vector of values if dimension=1, otherwise a matrix of values between 0 and 1.

Author(s)

Steve Su

References

Bratley P., Fox B.L. (1988); Algorithm 659: Implementing Sobol's Quasirandom Sequence Generator, ACM Transactions on Mathematical Software 14, 88-100.

Joe S., Kuo F.Y. (1998); Remark on Algorithm 659: Implementing Sobol's Quaisrandom Seqence Generator.

See Also

link{runif.sobol}, runif.halton, QUnif

Examples

1
2
3
fun.gen.qrn(1000,5,3,"runif.sobol")

fun.gen.qrn(1000,5,409,"QUnif")


Search within the GLDEX package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.