[R] plot map of areas
Peter Dalgaard
p.dalgaard at biostat.ku.dk
Fri Nov 21 14:30:13 CET 2003
"Pascal A. Niklaus" <Pascal.Niklaus at unibas.ch> writes:
> Hi all,
>
> Given a number of points (x,y) in a plane, I'd like to plot a map of
> polygons, so that
>
> 1) each polygon contains exactly one point
> 2) the polygon defines the area for which this specific point is
> closer than any other point.
>
> It's a bit like a map of areas "influenced" by that point, and it's
> obviously a matter of intersecting the perpendicular bisectors between
> adjacent points.
>
> I believe this type of map has a name, but I can't remember how it's
> called.
Voronoi Tesselation, unless my memory is failing me (again...)
> Is there a function somewhere in a R package that may do this?
package deldir will do VTs.
--
O__ ---- Peter Dalgaard Blegdamsvej 3
c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
More information about the R-help
mailing list