[R-sig-Geo] marked ppp-object

2010-10-21 Thread Dorothea Lemke
Hi list, that's probably an easy question but I couldn't get it right. I want to coerce a SpatialPointsDataFrame to a marked ppp- object. But I don't know how to attach the marks to the ppp-object. C67mF_K-readOGR (., C67mF_K) #read shapefile that contains points for cases and controls with

[R-sig-Geo] SpatialGridDataFrame to SpatialPixelDataFrame

2010-08-25 Thread Dorothea Lemke
Dear list, I have problems to coerce a SpatialGridDataFrame object to a SpatialPixelDataFrame. I 've calculated a kerneldensity (splancs) and I want to convert the results from the SpatialGridDataFrame to a SpatialPixelDataFrame. My R-code: library (maptools) library (splancs) library (rgdal)