Dear Agus,
Maybe you can try this:
dist<-distmap(yourdata)
dist.grid<-as.SpatialGridDataFrame.im(dist)
Regards
--
David March Morlà
Doctorando / PhD student
Instituto Mediterraneo de Estudios Avanzados (UIB-CSIC)
C/Miquel Marqués, 21
07190 Esporles
Islas Baleares - Spain
Tel: +34 971 611 722
Fa
Dear Siggeos,
I'm having a hard time at converting
objects to use spatial functions in different
packages. With a lot of help from the list
I've been able to calculate a distmap (package spatstat).
Now I would like to export using rgdal, but
cannot figure out how to convert the object
resulting fr