[R-sig-Geo] Count of points inside multiple polygons

Miha Staut mihastaut at yahoo.co.uk
Mon Jan 15 16:35:27 CET 2007


Dear all,

I was wandering if there is a way to count the number of points inside multiple
polygons within R. 

Example:
I have an arbitrary number of criminal events with x and y coordinates spread
over a town. I would like to know the number of events for each constitutive
spatial unit of this town. Let us suppose those spatial units are about 100. 

The required approaches what is implented in the splancs function pip. Just for
all the polygons in the same operation.

Thanks for your suggestions,
Miha Staut




More information about the R-sig-Geo mailing list