Description Usage Arguments Value Author(s)
This function rarefies a set of points using a raster map of probabilities of a point persisting in that location.
1 | spatFilter(points, MAP, Nclass = FALSE)
|
points |
data frame containing columns 'y' and 'x' (spatial coordinates on projected coordinate system). |
MAP |
object of class RasterLayer. Map of probability [0;1] of a point to persist in any pixel. |
Nclass |
optional number of classes into which MAP is going to be binned (quantile-based). This can be useful if the probability distribution of MAP is highly skewed. |
data frame with same structure as 'points' but with less rows (points).
Luca Butikofer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.