KEnvelope to fill the simulation matrix.SimulateK(X, r, ReferenceType = "", NeighborType = "", SimulationType = "RandomPosition")ppp.object), marks must be a dataframe with two columns:
PointType: labels, as factors.
PointWeight: weights.KEnvelope