The R Journal: accepted article

This article will be copy edited and may be changed before publication.

DRHotNet: An R package for detecting differential risk hotspots on a linear network PDF download
Álvaro Briz-Redón, Francisco Martínez-Ruiz and Francisco Montes

Abstract One of the most common applications of spatial data analysis is detecting zones, at a certain scale, where a point-referenced event under study is especially concentrated. The detection of such zones, which are usually referred to as hotspots, is essential in certain fields such as criminology, epidemiology, or traffic safety. Traditionally, hotspot detection procedures have been developed over areal units of analysis. Although working at this spatial scale can be suitable enough for many research or practical purposes, detecting hotspots at a more accurate level (for instance, at the road segment level) may be more convenient sometimes. Furthermore, it is typical that hotspot detection procedures are entirely focused on the determination of zones where an event is (overall) highly concentrated. It is less common, by far, that such procedures focus on detecting zones where a specific type of event is overrepresented in comparison with the other types observed, which have been denoted as differential risk hotspots. The R package DRHotNet provides several functionalities to facilitate the detection of differential risk hotspots along a linear network. In this paper, DRHotNet is depicted and its usage in the R console is shown through a detailed analysis of a crime dataset.

Received: 2020-11-02; online 2021-12-15, supplementary material, (16.5 Mb)
CRAN packages: spdep, DCluster, spatstat.linnet, spatstat, DRHotNet, sp, sf, sfnetworks, maptools, spatstat.geom, SpNetPrep, rgeos, spatstat.data, tigris, raster, crimedata, lubridate
CRAN Task Views implied by cited CRAN packages: Spatial, SpatioTemporal, ReproducibleResearch, Survival, TimeSeries


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

@article{RJ-2021-100,
  author = {Álvaro Briz-Redón and Francisco Martínez-Ruiz and Francisco
          Montes},
  title = {{DRHotNet: An R package for detecting differential risk
          hotspots on a linear network}},
  year = {2021},
  journal = {{The R Journal}},
  doi = {10.32614/RJ-2021-100},
  url = {https://journal.r-project.org/archive/2021/RJ-2021-100/index.html}
}