Voronoi: Voronoi tessellation diagram

Description Usage Arguments Details Author(s) Examples

Description

Computes voronoi tessellation diagrams, and Dirichlet tessellation (after Peter Gustav Lejeune Dirichlet).

Usage

1
Voronoi(n = 100, d, dim = 1000, method = NULL, seed = 51, plot = TRUE)

Arguments

n

an integer for a finite set of points.

d

an integer for a finite set of dimensions.

dim

the image dimension.

method

the distance computation method. One of euclidean, manhattan, maximum, canberra (currently not implemented).

seed

an integer for random seed.

plot

logical. If TRUE, a plot is returned, else, a data.frame is returned.

Details

https://en.wikipedia.org/wiki/Voronoi_diagram

Author(s)

Daniel Marcelino, dmarcelino@live.com

Examples

1
## Not run:  Voronoi(n=20, d=5, dim=1000) 

SciencesPo documentation built on May 29, 2017, 9:28 p.m.