[R] Areas of Voronoi polygons in a given window

From: <j.silver_at_ugrad.unimelb.edu.au>
Date: Mon 29 Aug 2005 - 09:29:03 EST


I'm using the package 'tripack' to look at the Voronoi tesselations of point patterns. I want to calculate the area of the intersection of each polygon with the unit square (in which all of my points lie). So far I have been using:


This returns NA for edge polygons which are not bounded. However, their intersection with some bounded area is bounded. So, I'd like to know how to get the area of the intersection of each polygon with some defined area (ie. the unit square). Is this possible?




R-help@stat.math.ethz.ch mailing list
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Mon Aug 29 09:38:25 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 16:01:37 EST