spatstat.Knet
This is an extension to the spatstat package for the analysis of large data sets on linear networks.
Its main functionality is a memory-efficient algorithm for computing the estimate of the \(K\) function on a linear network, described in Rakshit et al (2019).
The main functions are Knet
and Knetinhom
.
These are counterparts of the functions
linearK
and
linearKinhom
in the spatstat package.
The spatstat functions
linearK
and
linearKinhom
are usable (and slightly faster)
for small datasets, but require substantial amounts of memory.
For larger datasets,
the functions Knet
and Knetinhom
are much more efficient.
The DESCRIPTION file: spatstat.Knet spatstat.Knet
Rakshit, S., Baddeley, A. and Nair, G. (2019)
Efficient code for second order analysis of events on a linear network.
Journal of Statistical Software 90 (1) 1--37.
DOI: 10.18637/jss.v090.i01