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

fun.gen.qrnR Documentation

Finds the low discrepancy quasi random numbers

Description

This function calls the runif.sobol, runif.sobol.owen and runif.halton essentially from the spacefillr package.

Usage

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

Arguments

n

Number to generate.

dimension

Number of dimensions.

scrambling

seed used, or leap as in the case of QUnif.

FUN

This can be "runif.sobol" (default), "runif.sobol.owen", "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

Examples

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

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

GLDEX documentation built on Aug. 21, 2023, 9:08 a.m.

Related to fun.gen.qrn in GLDEX...