Spatial and Spatiotemporal Relative Risk
Overview
Provides functions to estimate kernel-smoothed spatial and spatio-temporal densities and relative risk functions, and perform subsequent inference. Methodological details can be found in the accompanying tutorial: Davies et al. (2018) DOI:10.1002/sim.7577.
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-03-10
Documentation
- Help pages
- 30 (1 internal)includes a package overview page
- Examples that run
- 42%11 run in a plain check · 12 only when donttest examples are enabled (R CMD check --as-cran) · 1 never run · 2 hold no code
- Exported functions with examples
- 100%
- Documented parameters
- 97%
- Return-value docs
- 100%
- Help pages citing references
- 77%
Downloads
Repository
- PRs merged (all time)
- 80%
- Median days to close, 50 most recently updated closed issues
- 317
- Median days to close, 50 most recently updated closed PRs
- 0
3 development-tooling and community-health practices detected across 2 families in the upstream repository
Checks run against github.com/tilmandavies/sparr on 2026-10-22.
Dependencies
Installing sparr adds 19 packages (11 with compiled code, 11 MB of source tarballs). Heaviest: spatstat 4.3 MB, spatstat.data 2.9 MB, spatstat.model 849 KB.
Code & Tests
Datasets
People & History
Previously maintained by T.M.D. (0.1-7 to 0.3-2).
Show 5 peopleHide 5 people
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
- RR 3.2.0 released · 2015-04-16
- RR 3.1.0 released · 2014-04-10
- 3.0.3Latest
- RR 3.0.0 released · 2013-04-03
- 2.15.22012-08-08 · diff ↗
Show 39 earlier eventsHide 39 earlier events
- RR 2.15.0 released · 2012-03-30
- 2.14.12011-12-13 · diff ↗
- RR 2.14.0 released · 2011-10-31
- 2.13.22011-09-20 · diff ↗
- RR 2.13.0 released · 2011-04-13
- 2.13.02011-02-28 · diff ↗
- RR 2.12.0 released · 2010-10-15
- 2.12.02010-07-18 · diff ↗
- RR 2.11.0 released · 2010-04-22
- 2.11.0
- 2.3-162025-03-20 · diff ↗
- 2.3-15
- 2.3-102023-03-09 · diff ↗
- 2.2-172022-11-10 · diff ↗
- 2.2-162022-02-21 · diff ↗
- 2.2-152021-03-16 · diff ↗
- 2.2-132018-09-17 · diff ↗
- 2.2-122018-07-22 · diff ↗
- 2.2-112018-03-11 · diff ↗
- 2.2-1
- 2.1-142017-11-13 · diff ↗
- 2.1-132017-09-28 · diff ↗
- 2.1-122017-08-27 · diff ↗
- 2.1-112017-08-02 · diff ↗
- 2.1-102017-07-18 · diff ↗ ·
removed 2 exports
KBivN, KBivQadded 15 exports
BOOT.density, BOOT.spattemp, LIK.density, LIK.spattemp, LSCV.spattemp, NS.spattemp, OS.spattemp, available.h0, fft2d, multiscale.density, multiscale.slice, spattemp.density, spattemp.risk, spattemp.slice, tol.contour - 0.3-82016-03-10 · diff ↗
- 0.3-72015-09-17 · diff ↗
- 0.3-62014-10-25 · diff ↗
- 0.3-52014-05-30 · diff ↗
- 0.3-42013-12-10 · diff ↗
- 0.3-32013-10-08 · diff ↗
- 0.3-22012-08-08 · diff ↗
- 0.3-12011-12-13 · diff ↗
- 0.3-0
- 0.2-32011-09-20 · diff ↗
- 0.2-22011-02-28 · diff ↗
- 0.2-12010-07-24 · diff ↗
- 0.1-72010-04-16
- RR 2.10.0 released · 2009-10-26
Package metadata
- First published
- 2010-04-13
- Total releases
- 35 / 16 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 2.10.1
- Bundled data
- 68 KB / 3 files
- Download size
- 249 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("sparr")The package provides a citation file, so citation() returns the authors' own entry.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.