View source: R/HaltonFunctions.r
makeFrame | R Documentation |
Make a Halton Frame based on B = 2^J[1]*3^J[2] grid cells. If rotation is required, will return rotated. This function is an internal function simply to select sub BAS points without having to do spatial clipping at the point level.
makeFrame(base = c(2, 3), J = c(2, 2), bb, rotate = FALSE)
base |
Co-prime base for BAS, do not change from 2,3. |
J |
Definition for the number of grid cells of Halton frame. |
bb |
Bounding box shapefile with centroid, random seed, rotation. |
rotate |
Boolean if you want to rotate shape before exporting. |
rotated sf spatial object.
## Not run: bb <- getBB() haltonFrame <- makeFrame(J = c(8,4), bb = bb) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.