Description Usage Arguments Value See Also
Use random sampling and K-means clustering to generate
a set of coordinates and corresponding weights that can be used
to carry out spatial integration over an area represented by an
sp
object. The weights can be purely spatial, or can
determined by the values of a raster representing the process of
interest - for example population density. The raster should be
such that random points can be sampled from it according to cell
values using seegSDM::bgSample
.
1 |
shape |
an |
raster |
a |
n |
the number of integration points required. Rounded up if not an integer. |
perpixel |
whether |
prob |
whether to weight the integration points by the values of
|
a three-column matrix giving the coordinates and corresponding
weights for the spatial integration points over sp
. Note that
if there are fewer unique points found than n
, only the unique
points will be returned. If there are no non-missing cells, a dataframe
with 0 rows will be returned and a warning issued.
Other GIS: bufferMask
, condSim
,
getArea
, insertRaster
,
ll2cart
, makeVoronoiPolygons
,
safeMask
, sortPolyData
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.