Description Usage Arguments Details Value Author(s)
View source: R/pointDistSample.r
This function takes a subsample of points in a SpatialPointsDataFrame object. The subsample is biased towards removing points that are close to other points, therefore reducing the density of highly dense areas. This may be useful in bias adjusting species distribution patterns away from densely sampled areas.
1 | pointnnSample(points, sample.size, id = T)
|
points |
A SpatialPointsDataFrame object. |
sample.size |
The number of points to retain in the sample. |
id |
Square-root weighting. |
Distance from each point to the nearest neighbour is calculated. Distances are normalized, and points with a greater mean distance to other points have a greater probability of being sampled.
A SpatialPointsData Frame.
Grant Williamson
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.