The R Journal: article published in 2021, volume 13:2

spNetwork: A Package for Network Kernel Density Estimation PDF download
Jeremy Gelb , The R Journal (2021) 13:2, pages 561-577.

Abstract This paper introduces the new package spNetwork that provides functions to perform Network Kernel Density Estimate analysis (NKDE). This method is an extension of the classical Kernel Density Estimate (KDE), a non parametric approach to estimate the intensity of a spatial process. More specifically, it adapts the KDE for cases when the study area is a network, constraining the location of events (such as accidents on roads, leaks in pipes, fish in rivers, etc.). We present and discuss in this paper the three main versions of NKDE: simple, discontinuous, and continuous that are implemented in spNetwork. We illustrate how to apply the three methods and map their results using a sample from a real dataset representing bike accidents in a central neighborhood of Montreal. We also describe the optimization techniques used to reduce calculation time and investigate their impacts when applying the three NKDE to a city-wide dataset.

Received: 2021-02-15; online 2021-12-15, supplementary material, (10.1 MiB)
CRAN packages: spNetwork, spatstat, rgdal, sp, rgeos, maptools, igraph, Rcpp, future, SpNetwork, SearchTrees, future.apply, RcppArmadillo
CRAN Task Views cited directly: Spatial
CRAN Task Views implied by cited CRAN packages: Spatial, HighPerformanceComputing, NumericalMathematics, SpatioTemporal, GraphicalModels, Optimization, Survival


CC BY 4.0
This article and supplementary materials are licensed under a Creative Commons Attribution 4.0 International license.

@article{RJ-2021-102,
  author = {Jeremy Gelb},
  title = {{spNetwork: A Package for Network Kernel Density Estimation}},
  year = {2021},
  journal = {{The R Journal}},
  doi = {10.32614/RJ-2021-102},
  url = {https://doi.org/10.32614/RJ-2021-102},
  pages = {561--577},
  volume = {13},
  number = {2}
}