View source: R/HIPMasterSample.r
This is the Main Master Sample function that processes the data and then calls HIP and orders based the MSI and per stratum orderings. Only mess with this if you are writing your own master sample. Otherwise, we will have it in a NWT or NZ wrapper function for set Master Sample orderings etc. It works on centroids of any discrete Halton space (rivers and lakes or just boxes from continuous space).
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
X |
Centroid coordinate for points be ordered x-axis. |
Y |
Centroid coordinate for points be ordered y-axis. |
index |
Master Sample Index for each point. If not supplied it will be calculated but slow things down and currently attemps to create 100 m boxes. |
bb |
Master Sample bounding box. |
base |
Generally 2,3. If you change it read the literature. |
seed |
Master Sample Seed for two bases used to define the Master Sample Index. |
Ps1 |
Permutation for base 2 for calculating Master Sample Index. |
Ps2 |
Permutation for base 3 for calculating Master Sample Index. |
hipS1 |
Permutation of x orderings (0, 1) for this HIP (per stratum or individual sample) |
hipS2 |
Permutation of y orderings (0, 1, 2) for this HIP (per stratum or individual sample) |
quite |
if you don't want to show each iteration of HIP keep this TRUE |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.