Skip to content
Prev 11691 / 29559 Next

density /diversity of points

Hi all, 

I read (just now) about the Simpson idex. This would probably be a good thing to try in my case. Do you have any ideas of how to create a diversity map using Simpson index? 

. I have just a few more questions about the code :

The line below as I understand sets a table for each point with the type of points that are in the near in the radius R=350 units?
mol.tab<- marktable(mol.ppp,R=350)

And this line creates a surface(map) of diversity ? 
lansing.div.s <-smooth.ppp(lansing.div) 

I think this map that is created with smooth.ppp is to rough giving to little detail on the diversity. Would it be possible to use kriging to create diversity map?

Thanks for the help, 

m

-----Original Message-----
From: marcelino.delacruz at upm.es [mailto:marcelino.delacruz at upm.es] 
Sent: Monday, May 16, 2011 9:59 AM
To: Matev? Pavli?
Cc: r-sig-geo at r-project.org
Subject: RE: [R-sig-Geo] density /diversity of points

Con fecha 15/5/2011, "Matev? Pavli&#269;" <matevz.pavlic at gi-zrmk.si>
escribi?:
mol.tab is a table with the number of occurrences of each type (columns)
in the neighborhood of each point (rows). This line computes for each
row (i.e. for each point) the number of types whose value is ">0"
(i.e. types that are present in the neighborhood). This is a very simple
definition of diversity (i.e. "richness"). From that table you could
also compute Shannon or Simpson diversity indices, if you would prefer
that.


Marcelino