| Khat | R Documentation |
Estimates the K function
Khat(X, r = NULL, ReferenceType = "", NeighborType = ReferenceType, CheckArguments = TRUE)
X |
A weighted, marked, planar point pattern ( |
r |
A vector of distances. If |
ReferenceType |
One of the point types. Default is all point types. |
NeighborType |
One of the point types. By default, the same as reference type. |
CheckArguments |
Logical; if |
K is a cumulative, topographic measure of a point pattern structure.
An object of class fv, see fv.object, which can be plotted directly using plot.fv.
The computation of Khat relies on spatstat functions Kest and Kcross.
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.
Lhat, KEnvelope, Ktest
data(paracou16)
autoplot(paracou16)
# Calculate K
r <- 0:30
(Paracou <- Khat(paracou16, r))
# Plot (after normalization by pi.r^2)
autoplot(Paracou, ./(pi*r^2) ~ r)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.