halton: Calculate a Halton sequence

Description Usage Arguments Examples

View source: R/halton.R

Description

Calculate a Halton sequence

Usage

1
halton(size, dim = 2, start)

Arguments

size

The required length of the Halton sequence

dim

The number of dimensions of the Halton sequence

start

Optimal starting values. Generated at random when missing

Examples

1
2
3
4
plot(halton(size = 100)$coordinates)
points(halton(size = 100)$coordinates, col = "green")
points(halton(size = 100)$coordinates, col = "red")
points(halton(size = 100)$coordinates, col = "blue")

ThierryO/grts documentation built on Jan. 15, 2022, 8:31 p.m.