Description Usage Arguments Value Examples
voronoi
creates voronoi polygons. The functions use the R package
deldir and is modified from Carson Farmer :
http://carsonfarmer.com/2009/09/voronoi-polygons-with-r/
1 | voronoipolygons(layer, extent)
|
layer |
is a SpatialPoints object |
extent |
is an extent object from raster packages to set the extent of calculation of polygons |
a SpatialPolygonsDataFrame with the Voronoi polygons
1 | voronoipolygons(layer,extent)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.