Description Usage Arguments Value Author(s) Source
spatial sampling, with selection probabilities defined in a raster
1 | samppoints<-probsel(probrast, 300)
|
probrast |
Raster with probabilities sum(getValues(probrast), na.rm=T) should be 1 |
N |
integer Number of points to select |
SpatialPoints
Michael Scroggie
https://scrogster.wordpress.com/2012/04/22/using-r-for-spatial-sampling-with-selection-probabilities-defined-in-a-raster/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.