| Ksector {spatstat.explore} | R Documentation |
Sector K-function
Description
A directional counterpart of Ripley's K function,
in which pairs of points are counted only when the
vector joining the pair happens to
lie in a particular range of angles.
Usage
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)
Arguments
X |
The observed point pattern,
from which an estimate of |
begin, end |
Numeric values giving the range of angles inside which
points will be counted. Angles are measured in degrees
(if |
... |
Ignored. |
units |
Units in which the angles |
r |
Optional. Vector of values for the argument |
breaks |
This argument is for internal use only. |
correction |
Optional. A character vector containing any selection of the
options |
domain |
Optional window. The first point |
ratio |
Logical.
If |
verbose |
Logical value indicating whether to print progress reports and warnings. |
Details
This is a directional counterpart of Ripley's K function
(see 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.
Value
An object of class "fv" containing the estimated
function.
Author(s)
Adrian Baddeley Adrian.Baddeley@curtin.edu.au
Rolf Turner rolfturner@posteo.net
and Ege Rubak rubak@math.aau.dk
See Also
Examples
K <- Ksector(swedishpines, 0, 90)
plot(K)