Tools for Poisson Data
Overview
Functions used for analyzing count data, mostly crime counts. Includes checking difference in two Poisson counts (e-test), checking the fit for a Poisson distribution, small sample tests for counts in bins, Weighted Displacement Difference test (Wheeler and Ratcliffe, 2018) doi:10.1186/s40163-018-0085-5, to evaluate crime changes over time in treated/control areas. Additionally includes functions for aggregating spatial data and spatial feature engineering.
Install
Health
- OK13 OK2026-08-25
- ERROR12 OK, 1 ERROR2026-08-21
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
Show 6 earlier changesHide 6 earlier changes
- ERROR12 OK, 1 ERROR2026-06-08
- OK13 OK2026-06-03
- ERROR12 OK, 1 ERROR2026-05-30
- OK14 OK2026-04-19
- ERROR13 OK, 1 ERROR2026-04-16
- OK14 OK2026-03-10
Documentation
- Help pages
- 28
- Examples that run
- 58%14 run in a plain check · 10 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 100%
- Documented parameters
- 92%
- Return-value docs
- 100%
- Help pages citing references
- 61%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 38
- Median days to close, 50 most recently updated closed PRs
- 0
4 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/apwheele/ptools on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows
Dependencies
Code & Tests
Datasets
People & History
Package metadata
- First published
- 2022-07-16
- Total releases
- 4 / 4 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 3.0.0
- Bundled data
- 1.6 MB / 4 files
- Download size
- 1.8 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("ptools")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-20, which the citation names so these numbers can be found later. More on citing and the projects behind them.