voronoi.polygons | R Documentation |
This functions extracts polygons from a voronoi.mosaic
object.
voronoi.polygons(voronoi.obj)
voronoi.obj |
object of class |
Returns an object of class voronoi.polygons
with unamed list
elements for each polygon. These list
elements are matrices with columns x
and y
.
Denis White
plot.voronoi.polygons
,voronoi.mosaic
##---- Should be DIRECTLY executable !! ----
##-- ==> Define data, use random,
##-- or do help(data=index) for the standard data sets.
data(tritest)
tritest.vm <- voronoi.mosaic(tritest$x,tritest$y)
tritest.vp <- voronoi.polygons(tritest.vm)
tritest.vp
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.