pairorient(X, r1, r2, ..., correction, ratio = FALSE)
"ppp"
)."none"
, "isotropic"
, "translate"
,
"good"
and "best"
.TRUE
, the numerator and denominator of
each edge-corrected estimate will also be saved,
for use in analysing replicated point patterns."fv"
)
containing the estimates of the cumulative distribution
function of angles, in degrees. The function considers all pairs of points in the pattern
X
that lie more than r1
and less than r2
units apart. The direction of the arrow joining the points
is measured, as an angle in degrees, anticlockwise from the $x$ axis.
The result is the cumulative distribution function of these
directions.
In calculating the cumulative distribution function,
the algorithm gives each observed direction a weight,
determined by an edge correction, to adjust for the fact that some
interpoint distances are more likely to be observed than others.
The choice of edge correction or corrections is determined by the argument
correction
.
To calculate the probability density of directions,
use deriv.fv
with the argument Dperiodic=TRUE
.
Kest
, Ksector
plot(f <- pairorient(redwood, 0.05, 0.15))
plot(Df <- deriv(f, spar=0.6, Dperiodic=TRUE))
Run the code above in your browser using DataLab