MEnvelope
to fill the simulation matrix.SimulateM(X, r, ReferenceType, NeighborType, SimulationType = "RandomLocation", CaseControl = FALSE)
ppp.object
), marks must be a dataframe with two columns:
PointType
: labels, as factors.
PointWeight
: weights.TRUE
, the case-control version of M is computed. ReferenceType points are cases, NeighborType points are controls.MEnvelope