Re: [R-sig-Geo] Is it possible to "bin" or grid ppp objects?

2013-07-01 Thread L S
That is very helpful--Thank you, Marcelino. After trying Marcelino's example with my own data and taking a look at the spatstat docs, I see that the tess function can also accept a "window" parameter of type owin. I thought that by using the window parameter, the outcome would be similar to the t

Re: [R-sig-Geo] Is it possible to "bin" or grid ppp objects?

2013-06-30 Thread Marcelino de la Cruz
Hi LS, you can us function tess to create a tesselation and then split your ppp with it. See this example: data(lansing) lansing gridA<- tess(xgrid=seq(0,1, by=0.1), ygrid=seq(0,1,by=0.1)) gridA plot(lansing) plot(gridA, add=T) lansing.g=split(lansing, gridA) lansing.g length(lansing.g) lansin

[R-sig-Geo] Is it possible to "bin" or grid ppp objects?

2013-06-30 Thread L S
Hi, I am not very savvy with spatial data analysis (though I am doing my best to learn). I have embarked on a spatial analysis project and am not sure whether what I would like to do is possible. My dataset is over 500,000 points (with lat, long attributes as well as a single numerical attribute