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. Default is all point types.
NeighborType
One of the point types. Default is all point types.
Value
A vector containing K(r) values.
Details
K is a cumulative, topographic measure of a point pattern structure.
References
Ripley, B. D. (1976). The Foundations of Stochastic Geometry. Annals of Probability 4(6): 995-998.
Ripley, B. D. (1977). Modelling Spatial Patterns. Journal of the Royal Statistical Society B 39(2): 172-212.