Learn R Programming

humanleague (version 2.0.2)

sobolSequence: Generate Sobol' quasirandom sequence

Description

Generate Sobol' quasirandom sequence

Usage

sobolSequence(dim, n, skip = 0L)

Arguments

dim

dimensions

n

number of variates to sample

skip

number of variates to skip (actual number skipped will be largest power of 2 less than k)

Value

a n-by-d matrix of uniform probabilities in (0,1).

Examples

Run this code
# NOT RUN {
sobolSequence(2, 1000, 1000) # will skip 512 numbers!
# }

Run the code above in your browser using DataLab