Fit Probability Models to Forensic Survey Data
Overview
Fits probability models to P- and S-type count data arising from forensic surveys of clothing for the background presence of glass, paint, and related trace material. Built-in models include zeta, zero-inflated zeta, and logarithmic distributions, with a public extension interface for additional models. Inference is available by maximum likelihood, parametric Bayesian methods, the ordinary nonparametric bootstrap, and Rubin's Bayesian Bootstrap. The clothing-survey setting is described by Coulson, Buckleton, Gummer, and Triggs (2001) doi:10.1016/S1355-0306(01)71847-3.
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-18
- NOTE13 NOTE2026-06-09
- ERROR12 NOTE, 1 ERROR2026-06-08
Show 1 earlier changeHide 1 earlier change
- NOTE3 OK, 11 NOTE2026-03-10
Documentation
- Help pages
- 66 (6 internal)
- Examples that run
- 100%29 run in a plain check (7 of them under a condition)
- Exported functions with examples
- 56%
- Documented parameters
- 95%
- Return-value docs
- 94%
- Help pages citing references
- 8% with a bibliography file
Downloads
Repository
- PRs merged (all time)
- 50%
- Median days to close, 50 most recently updated closed issues
- not measured
- Median days to close, 50 most recently updated closed PRs
- not measured
1 development-tooling and community-health practice detected across 1 family in the upstream repository
Checks run against github.com/jmcurran/fitps on 2026-10-21.
Dependencies
Installing fitPS adds 82 packages (42 with compiled code, 71 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 1.1.4Latest2026-08-27 · current release · diff ↗ ·
added 22 exports
DIC, bootstrapFit, bootstrapProbs, fit, logarithmicModel, modelBayesControl, modelFromUnconstrained, modelLogJacobian, modelLogLikelihood, modelLogPrior, modelMleControl, modelObservationData, modelParameterNames, modelProbabilities, modelToUnconstrained, plotUncertainty, posteriorInflation, posteriorProbs, psModel, supportedPosteriorEngines, zetaModel, zizModel - 1.0.6
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 1.0.12024-03-20 · diff ↗
- 1.0.02024-01-11 · diff ↗ ·
added 6 exports
compareSurveys, compareSurveysLRT, fitLogdist, fitlogDist, fitlogdist, rzeta - 0.2-6
- RR 4.3.0 released · 2023-04-21
- 0.2-5
- 0.2-4
- 0.2-3
- 0.2-22023-01-20 · diff ↗
- 0.22022-12-01
- RR 4.2.0 released · 2022-04-22
Package metadata
- First published
- 2022-12-01
- Total releases
- 10 / 4 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 4.1.0
- Bundled data
- 3.3 KB / 2 files
- Download size
- 1.4 MB
Cite
Cite this package
Run in R for the authors' entry:
citation("fitPS")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-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.