voronoipolygons: Create Voronoi Polygons from a SpatialPoints

Description Usage Arguments Value Examples

Description

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/

Usage

1
voronoipolygons(layer, extent)

Arguments

layer

is a SpatialPoints object

extent

is an extent object from raster packages to set the extent of calculation of polygons

Value

a SpatialPolygonsDataFrame with the Voronoi polygons

Examples

1
voronoipolygons(layer,extent)

rpatin/drinking documentation built on May 28, 2019, 12:36 a.m.