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)
1 2 3 4 5 6 7 8 9 10 11 12 13 | 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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.