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)
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, ...)
n |
The number of samples. |
k |
The number of dimensions. |
... |
Additional arguments for the sampling (e.g. |