Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

vanDerCorput

Generate van der Corput sequences


Description

Generates the first (or an arbitrary offset) n elements of the van der Corput low-discrepancy sequence for a given base

Usage

vanDerCorput(n, base = 2, start = 1)

Arguments

n

the first n elements of the van der Corput sequence

base

the base to use for calculating the van der Corput sequence

start

start at this position in the sequence

Value

a vector of length n with values ranging between 0 and 1

References

Examples

vanDerCorput(100)

vipor

Plot Categorical Data Using Quasirandom Noise and Density Estimates

v0.4.5
GPL (>= 2)
Authors
Scott Sherrill-Mix, Erik Clarke
Initial release
2017-03-22

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.