Description Usage Arguments Value Examples
View source: R/random_declustering.R
Function for random points selection from grid cells in a spatial object
1 | declstr_random(spatial_object, cellsize, numpoints)
|
spatial_object |
Object of class sfc or sf |
cellsize |
Target cellsize in map units |
numpoints |
Number of points that will be chosen from a grid cell |
Object of class sf
1 2 3 | points4 = sf::st_read(system.file("points/punkty4.shp", package = "declusteringr"))
x = declstr_random(spatial_object = points4, cellsize = 10000, numpoints = 2)
x
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.