generate_halton_faure_single: Generate Halton Value (Faure Initialized)

Description Usage Arguments Value Examples

View source: R/generate_values.R

Description

Generate a single value from a seeded Halton set, initialized with a Faure sequence.

Note: This is much slower than generating the entire set ahead of time.

Usage

1

Arguments

i

The element of the sequence to extract.

dim

The dimension of the sequence to extract.

Value

A single numeric value representing the 'i'th element in the 'dim' dimension.

Examples

1
2
3
4
5
#Generate a 3D sample:
point3d = c(generate_halton_faure_single(10, dim = 1),
           generate_halton_faure_single(10, dim = 2),
           generate_halton_faure_single(10, dim = 3))
point3d

spacefillr documentation built on Feb. 23, 2021, 5:10 p.m.