DRHotNet: An R package for detecting differential risk hotspots on a linear network

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 within 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.

Cite PDF Tweet

Published

Dec. 14, 2021

Received

Nov 2, 2020

DOI

10.32614/RJ-2021-100

Volume

Pages

13/2

380 - 397

CRAN packages used

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 packages

Spatial, SpatioTemporal, ReproducibleResearch, Survival, TimeSeries

Footnotes

    Reuse

    Text and figures are licensed under Creative Commons Attribution CC BY 4.0. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".

    Citation

    For attribution, please cite this work as

    Briz-Redón, et al., "The R Journal: DRHotNet: An R package for detecting differential risk hotspots on a linear network", The R Journal, 2021

    BibTeX citation

    @article{RJ-2021-100,
      author = {Briz-Redón, Álvaro and Martínez-Ruiz, Francisco and Montes, Francisco},
      title = {The R Journal: DRHotNet: An R package for detecting differential risk hotspots on a linear network},
      journal = {The R Journal},
      year = {2021},
      note = {https://doi.org/10.32614/RJ-2021-100},
      doi = {10.32614/RJ-2021-100},
      volume = {13},
      issue = {2},
      issn = {2073-4859},
      pages = {380-397}
    }