Mhat(X, r = NULL, ReferenceType, NeighborType = ReferenceType, CaseControl = FALSE, CheckArguments = TRUE)
wmppp.object
) or a Dtable
object.
NULL
, a default value is set: 64 unequally spaced values are used up to half the maximum distance between points $d_m$. The first value is 0, first steps are small ($d_m/800$) then increase progressively up to $d_m/40$.
TRUE
, the case-control version of M is computed. ReferenceType points are cases, NeighborType points are controls.
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.
MEnvelope
, Kdhat
data(paracou16)
plot(paracou16)
# Calculate M
plot(Mhat(paracou16, , "V. Americana", "Q. Rosea"))
Run the code above in your browser using DataLab