Description Usage Arguments Value
Chooses a set of randomly sampled points centered on non-NA cells of the input RasterLayer, and returns a randomly chosen maximal subset of nonoverlapping circles centered at these points.
1 | sample_neighborhoods(x, n, radius, separation = radius, thin = TRUE)
|
x |
The Raster* object. |
n |
The number of points to sample. |
radius |
The radius of the neighborhoods. |
separation |
The minimum distance separating neighborhood centers (if |
thin |
Whether to thin neighborhoods. |
A named list containing: centers = a SpatialPoints object of centers neighborhoods = SpatialPolygons object of the circle(s) center.cells = the indices of the cells of the Ratser* object that contain the centers
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.