mhat(X, r = NULL, ReferenceType, NeighborType = ReferenceType,
CaseControl = FALSE, adjust = 1, CheckArguments = TRUE)wmppp.object).NULL, a default value is set: 512 equally spaced values are used up to the median distance between points (following Duranton and Overman, 2005).TRUE, the case-control version of M is computed. ReferenceType points are cases, NeighborType points are controls.adjust. Setting it to values lower than one (1/2 for example) will sharpen the estimation.TRUE, the function arguments are verified. Should be set to FALSE to save time in simulations for example, when the arguments have been checked elsewhere.adjust.mEnvelope, Kdhatdata(paracou16)
plot(paracou16)
# Calculate M
plot(mhat(paracou16, , "V. Americana", "Q. Rosea"))Run the code above in your browser using DataLab