HaltonFrameBase: Generate a Halton Frame.

View source: R/HaltonFrames.R

HaltonFrameBaseR Documentation

Generate a Halton Frame.

Description

A description of this useful function.

Usage

HaltonFrameBase(
  n = (bases[1]^J[1]) * (bases[2]^J[2]),
  J = base::c(3, 2),
  bases = base::c(2, 3),
  seeds = NULL
)

Arguments

n

The number of points in the frame to generate.

J

The number of grid cells. A list of 2 values. The default value is c(3, 2), we could also use c(5, 3).

bases

Co-prime base for the Halton Sequence. The default value is c(2, 3).

seeds

The u1 and u2 seeds to use.

Details

This function was written by Phil Davies.

Value

A list containing the following four variables: halton_seq - halton_seq_div - Z - halton_frame -


spbal documentation built on May 29, 2024, 11:09 a.m.