samplingf {optim.functions}R Documentation

The sampling functions take (n, k) where n is the number of samples and k is the number of dimensions. The sampling functions should return samples in a 0-1 hypercube. sampling.func <- function(n, k)

Description

The sampling functions take (n, k) where n is the number of samples and k is the number of dimensions. The sampling functions should return samples in a 0-1 hypercube. sampling.func <- function(n, k)

Usage

lh.sample(n, k, ...)

cartesian.sample(n, k, ...)

random.sample(n, k, ...)

hexagonal.sample(n, k, ...)

torus.sample(n, k, ...)

sobol.sample(n, k, ...)

halton.sample(n, k, ...)

Arguments

n

The number of samples.

k

The number of dimensions.

...

Additional arguments for the sampling (e.g. seed).


[Package optim.functions version 0.1 Index]