linearpcf(X, r=NULL, ..., correction="Ang")"lpp").density.default
to control the smoothing."none" or "Ang". See Details."fv"). The pair correlation function is estimated from the
shortest-path distances between each pair of data points,
using the fixed-bandwidth kernel smoother
density.default,
with a bias correction at each end of the interval of $r$ values.
To switch off the bias correction, set endcorrect=FALSE.
If correction="none", the calculations do not include
any correction for the geometry of the linear network. The result is
an estimate of the first derivative of the
network $K$ function defined by Okabe and Yamada (2001).
If correction="Ang", the pair counts are weighted using
Ang's correction (Ang, 2010). The result is an estimate of the
pair correlation function in the linear network.
linearK,
linearpcfinhom,
lppdata(simplenet)
X <- rpoislpp(5, simplenet)
linearpcf(X)
linearpcf(X, correction="none")Run the code above in your browser using DataLab