Description Usage Arguments Value
View source: R/rarify_points.R
Rarify points Rarify points according to the raster grid mask. Points will be rarified so only one point per grid cell is preserved. Purposfully made for rarifying points in presence-absence modeling. Useful for SDM.
1 | rarify_points(point_data, raster_data)
|
point_data |
Input point data to be rarified. SpatialPointsDataFrame. |
raster_data |
Input grid data to which point_data is rarified. RasterLayer. Has to have overlapping extent. |
SpatialPointsDataFrame with rarified points.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.