spatialsegregation-mingling {spatialsegregation} | R Documentation |
Compute the Mingling index for a given multitype point pattern.
minglingF(pp, parvec = 1:20, graph_type = "knn", type = NULL, ratio = FALSE, ...) mingling_index(pp, graph_type = "knn", graph_par = 4, type = NULL, ...)
pp |
Multitype point pattern (see package 'spatstat') |
parvec |
Default 1:20. Vector for the neighbourhood defining graph, e.g. geometric graph with different r . |
graph_type |
Default knn . Type of the neighbourhood graph. Accepts: knn , geometric , delauney , gabriel . |
type |
Default NULL. Calculate only for type 'type'. If NULL compute mean over all types. |
ratio |
Default FALSE. If TRUE, scale the typewise values $M\_t$ using formula $(1-M\_\tau)/\lambda\_\tau$ which equals 1 for Poisson. |
graph_par |
The single parameter to calculate the value in. |
... |
Further tuning parametes for the function segregationFun. |
Date: | 2009-03-09 |
License: | GPL v2 or later |
Extension of Mingling index introduced by Lewandowski&Pommerening 1997. Measures the proportion of alien points in the neighbourhood of a specific type typical point of the pattern.
If no specific type is given, the function means over all types. A typewise value is more useful.
The function minglingF
is the main calculation function. Uses function segregationFun
with parameter ftype=1
.
The function mingling_index
is a shortcut to get a single value for the pattern. Uses 4-nn graph by default, which is the original
Mingling index used by Lewandowski&Pommerening 1997 and Graz 2004.
Tuomas Rajala University of Jyvaskyla, Finland tarajala@maths.jyu.fi
Graz: The behaviour of the species mingling index $m_{sp}$
in relation to species dominance and dispersion. Eur. J. forest research. 123:87-92, 2004.
Lewandowski, Pommerening: Zur Beschreibung der Waldstruktur - Erwartete und beobachtete Arten-Durchmischung. Forstwiss Centralbl, 116:129-139, 1997.
Rajala, Illian: Graph-based description of mingling and segregation in multitype spatial point patterns. To appear 2009.