spatstat (version 1.22-3)

linearK: Network K Function

Description

Computes an estimate of the Okabe-Yamada network $K$ function for a point pattern on a linear network.

Usage

linearK(X, r=NULL, ...)

Arguments

X
Point pattern on linear network (object of class "lpp").
r
Optional. Numeric vector of values of the function argument $r$. There is a sensible default.
...
Ignored.

Value

  • Function value table (object of class "fv").

Details

This command computes the network $K$ function, as defined by Okabe and Yamada (2001), for a point pattern on a linear network.

References

Okabe, A. and Yamada, I. (2001) The K-function method on a network and its computational implementation. Geographical Analysis 33, 271-290.

See Also

compileK, lpp

Examples

Run this code
data(simplenet)
  X <- rpoislpp(5, simplenet)
  linearK(X)

Run the code above in your browser using DataCamp Workspace