Skip to content
Prev 12825 / 29559 Next

Converting spatialPointsDataFrame into ppp

On Fri, 16 Sep 2011, GodinA wrote:

            
Well, that is what you would expect.
Did you look at the vignette for the spatstat package about handling 
shapefiles? You would note that you need the maptools package, which also 
contains the as() coercion functions. They are there, rather than in sp or 
spatstat, to try to avoid unwanted dependencies between packages.

However, I doubt whether your data are a marked point process - the catch 
positions were decided by someone, not, say, the fish? Have you thought of 
trying the bubble() function in sp?

Roger