Skip to content

ptools

2.0.0Package record

Tools for Poisson Data

0packages depend
2.6Kdownloads / year
52.0%test coverage
13/13flavors OK

Overview

About

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

CRAN checks
13OK
Slowest check: 3.4 min · r-oldrel-windows-x86_64
Status changes
  • 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
Advisories

none known

Documentation

In release 2.0.0
READMEYes · 236 wordsVignettesYes · 1 · dynamicNEWSYes · 0% structuredCitation fileNoWebsitenot declared in DESCRIPTION
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

2.6K
CRAN downloads in the past year
Rank #18,579 · ~7/day · ~217/mo
Daily download trend is not available in this view yet.
27130 days
69690 days
2.6K1 year
Compare downloads with other packages →
Also on75 r2u12 autocran

Repository

5Stars
1Forks
0Open issues
0Open PRs
0Releases
27Commits
1Commit identities
rcriminologycrime-analysiscriminal-justice
27 commits · Last activity 2023-10-18
Responsiveness
How these are sampled
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
PracticesBeta

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.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows

Docs source (1)
README.Rmd
Reproducibility and dev environment (1)
data-raw/
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
11 external dependencies (excludes base and recommended)

Installing ptools adds 34 packages (27 with compiled code, 38 MB of source tarballs). Heaviest: sf 9.3 MB, igraph 4.8 MB, sp 4.3 MB.

Depends (1)
R >= 3.0.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (1)
Author, Maintainer since 1.0.0 (2022)
Releases (4)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 2.0.0Latest
    record
    2023-02-07 · current release · diff ↗ ·
    added 1 export
    buff_sp
  • 1.0.2
    record
    2023-01-06 · diff ↗
  • 1.0.1
    record
    2022-07-21 · diff ↗
  • 1.0.0
    record
    2022-07-16
  • R
    R 4.2.0 released · 2022-04-22

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")
Wheeler, A. (2023). ptools: Tools for Poisson Data (Version 2.0.0) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for ptools version 2.0.0 [Data set]. HJJB, LLC. Data release v2026-10-20. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy