View source: R/HIPMasterSample.r
This is an internal Master Sample function to assign indices to points based on the discrete Halton Box overlay.
1 2 3 4 5 6 7 8 9 | getIndividualBoxIndices(
input,
J = NULL,
bb,
base = c(2, 3),
seed = c(587, 8750),
s1 = 0:1,
s2 = 0:2
)
|
input |
An sp or sf spatial points. Accepts either. Or even a data frame with X, Y names. |
J |
Integer for number of Halton Boxes to make. If not set it defaults to 100m roughly. |
bb |
Master Sample bounding box. |
base |
Generally 2,3. If you change it read the literature. |
seed |
Master Sample Seed for two bases. |
s1 |
Permutation of x orderings (0, 1) |
s2 |
Permutation of y orderings (0, 1, 2) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.