Hi Aurelie,

If your points and grid are objects of the spatial class you can use the function "over" in the sp package. The overlay of points on polygons returns a vector with the polygon index where each point is located.

Julian


--
Julian Mariano Burgos, PhD
Hafrannsóknastofnunin/Marine Research Institute
Skúlagata 4, 121 Reykjavík, Iceland
Sími/Telephone : +354-5752037
Bréfsími/Telefax:  +354-5752001
Netfang/Email: [email protected]



On 01/16/2013 01:40 PM, Aurelie C.Godin wrote:
Hello,
I have a point pattern and a tessellation (grid). Is there a way to
spatially index each of my points? In other words, my tessellation grid has
/n/ quadrats, I would like to know for each of my points which of these
/(1:n)/ quadrats they are associated with.
If not, is there another way to do so?
Many thanks for your suggestions!



-----
Aurelie Cosandey-Godin
Ph.D. Student, Department of Biology, Dalhousie University
Industrial Graduate Fellow, WWF-Canada
Email: [email protected] | Web: wormlab.biology.dal.ca

--
View this message in context: 
http://r-sig-geo.2731867.n2.nabble.com/Spatial-indexing-of-a-point-pattern-tp7582325.html
Sent from the R-sig-geo mailing list archive at Nabble.com.

_______________________________________________
R-sig-Geo mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-geo

_______________________________________________
R-sig-Geo mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-geo

Reply via email to