(Formerly ki.fun) Computes a set of K12-functions between all possible marks \(p\) and the other marks in
a multivariate spatial point pattern defined in a simple (rectangular or circular)
or complex sampling window (see Details).
kp.fun(p, upto, by)A list of class "fads" with essentially the following components:
a vector of regularly spaced distances (seq(by,upto,by)).
a vector containing the levels \(i\) of p$marks.
a data frame containing values of the pair density function \(g12(r)\).
a data frame containing values of the local neighbour density function \(n12(r)\).
a data frame containing values of the \(K12(r)\) function.
a data frame containing values of the modified \(L12(r)\) function.
Each component except r is a data frame with the following variables:
a vector of estimated values for the observed point pattern.
a vector of theoretical values expected under the null hypothesis of population independence (see k12fun).
a "spp" object defining a multivariate spatial point pattern in a given sampling window (see spp).
maximum radius of the sample circles (see Details).
interval length between successive sample circles radii (see Details).
Function kp.fun is simply a wrapper to k12fun, which computes K12(r) between each mark \(p\) of the pattern
and all other marks grouped together (the \(j\) points).
plot.fads,
spp,
kfun,
k12fun,
kpqfun.