Ksector(X, begin = 0, end = 360, ...,
units = c("degrees", "radians"),
r = NULL, breaks = NULL,
correction = c("border", "isotropic", "Ripley", "translate"),
domain=NULL, ratio = FALSE, verbose=TRUE)"ppp", or data
in any format acceptable to as.ppp().units="degrees", the default) or radians
(if units="radians") anti-clockwise from the positive $x$-axisbegin and end are expressed."none", "border", "bord.modif",
"isotropic", "Ripley", "translate",
"translation", domain.TRUE, the numerator and denominator of
each edge-corrected estimate will also be saved,
for use in analysing replicated point patterns."fv" containing the estimated
function.Kest) in which, instead of counting all
pairs of points within a specified distance $r$, we
count only the pairs $(x_i, x_j)$
for which the vector $x_j - x_i$
falls in a particular range of angles. This can be used to evaluate evidence for anisotropy
in the point pattern X.
KestK <- Ksector(swedishpines, 0, 90)
plot(K)Run the code above in your browser using DataLab