Learn R Programming

dbmss (version 1.2.4)

SimulateKmm: Simulations of point patterns to obtain values of Kmm under the null hypothesis

Description

This function is used internally by KmmEnvelope to fill the simulation matrix.

Usage

SimulateKmm(X, r, ReferenceType = "")

Arguments

X
A point pattern (ppp.object), marks must be a dataframe with two columns: PointType: labels, as factors. PointWeight: weights.
r
A vector of distances.
ReferenceType
One of the point types. Others are ignored. Default is all point types.

Value

  • A vector containing simulated Kmm(r) values.

See Also

KmmEnvelope