Dear R-users,

I have a dataset with over 5000 pts and I know their x and y coordinates.

Based on the study area, I created 10 random points and used these points to create voronoi to dissect the space.

genxy.vm<-voronoi.mosaic(genxy$x, genxy$y, duplicate="remove")
genxy.vp<-voronoi.polygons(genxy.vm)

Now I have the voronoi polygons....for the 5000 pts, how can I find out which voronoi polygon they each fall into?

Thanks in advance for your help!!

K.

       
---------------------------------


	[[alternative HTML version deleted]]


