View source: R/linearKeuclid.R
linearKEuclid | R Documentation |
Computes an estimate of the linear K
function
based on Euclidean distances,
for a point pattern on a linear network.
linearKEuclid(X, r = NULL, ...)
X |
Point pattern on linear network (object of class |
r |
Optional. Numeric vector of values of the function argument |
... |
Ignored. |
This command computes an estimate of the
linear K
function based on Euclidean distances
between the points, as described by
Rakshit, Nair and Baddeley (2017).
This is different from the linear K
function
based on shortest-path distances, which is computed by
linearK
.
The linear K
function based on Euclidean distances
is defined in equation (20) of Rakshit, Nair and Baddeley (2017).
The estimate is computed from the point pattern as described in equation (25).
Function value table (object of class "fv"
).
.
Rakshit. S., Nair, G. and Baddeley, A. (2017) Second-order analysis of point patterns on a network using any distance metric. Spatial Statistics 22 (1) 129–154.
linearpcfEuclid
, linearKEuclidInhom
.
See linearK
for the corresponding function
based on shortest-path distances.
X <- rpoislpp(5, simplenet)
K <- linearKEuclid(X)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.