Skip to content
Prev 11725 / 29559 Next

density /diversity of points

Hi all, 

I can not for the life of me find out how to covert this : 

plot(eval.im(mol.simpson.s >0.3 & (mol.den/max(mol.den))>0.3)) 

into any kind of grid or shape with projection that can be used in some GIS software. Any help is greatly appreciated.

m

-----Original Message-----
From: r-sig-geo-bounces at r-project.org [mailto:r-sig-geo-bounces at r-project.org] On Behalf Of Mathieu Rajerison
Sent: Wednesday, May 18, 2011 8:34 AM
To: r-sig-geo at r-project.org
Subject: Re: [R-sig-Geo] density /diversity of points

Yes, you're totally right about the name of the objects :)

So, setting exclude=FALSE is necessary if one wishes to include the point itself in the marktable function and there is no zero values, at least one "1"
clc.tab<-marktable(clc.ppp, R=20, exclude=FALSE)

To get the minimal radius for which a neighbor is found, I simply used nndist function
min(nndist(clc.ppp))

Finally, I decided to set a 2000 units radius and to include the radius starting point clc.tab<-marktable(clc.ppp, R=2000, exclude=FALSE)

I get good results

Thanks everybody for everything!

2011/5/17 Rolf Turner <r.turner at auckland.ac.nz>