shannonF(X, r=NULL, v2=FALSE, ...) shannon.index(X, spatial=FALSE, ...)
ppp
(see package 'spatstat')geometric
graph with different ranges.segregationFun
.fv
-object, see spatstat
for more information.
The function shannonF
is the calculation function. Uses function segregationFun
.
The function shannon.index
is a shortcut to get the non-spatial Shannon index.
Reardon, O'sullivan: Measures of spatial segregation. Sociological methodology, 34:121-162, 2004.