halton: Calculate a Halton sequence

Description Usage Arguments Examples

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")

GRTS documentation built on May 2, 2019, 6:39 p.m.