Skip to content

fitPS

1.1.4Package record

Fit Probability Models to Forensic Survey Data

0packages depend
3.6Kdownloads / year
74.0%test coverage
13/13flavors OK

Overview

About

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

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

none known

Documentation

In release 1.1.4
READMEYes · 989 wordsVignettesYes · 4 · dynamicNEWSYes · 100% structured · does not mention 1.1.4Citation fileYes · software entry onlyWebsitenot declared in DESCRIPTION
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

3.6K
CRAN downloads in the past year
Rank #10,819 · ~10/day · ~299/mo
Daily download trend is not available in this view yet.
35430 days
97390 days
3.6K1 year
Compare downloads with other packages →
Also on81 r2u2 autocran

Repository

0Stars
0Forks
0Open issues
0Open PRs
0Releases
Last activity 2026-08-16
Responsiveness
How these are sampled
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
PracticesBeta

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.

Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
16 external dependencies (excludes base and recommended)

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.

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

Nothing depends on this yet.

Datasets

People & History

People (1)
Author, Maintainer since 0.2 (2022)
Releases (10)

Pick two releases to compare their code metrics.

  • 1.1.4Latest
    record
    2026-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
    record
    2026-06-10 · diff ↗ ·
    added 6 exports
    add, credInt, credint, fitdist, makePrior, plotPosterior
  • 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
  • 1.0.1
    record
    2024-03-20 · diff ↗
  • 1.0.0
    record
    2024-01-11 · diff ↗ ·
    added 6 exports
    compareSurveys, compareSurveysLRT, fitLogdist, fitlogDist, fitlogdist, rzeta
  • 0.2-6
    record
    2023-06-10 · diff ↗ ·
    added 6 exports
    fitZIDist, fitZIdist, fitzidist, rZIzeta, rzizeta, var
  • R
    R 4.3.0 released · 2023-04-21
  • 0.2-5
    record
    2023-03-18 · diff ↗ ·
    added 2 exports
    bootCI, createPSData
  • 0.2-4
    record
    2023-02-12 · diff ↗ ·
    added 1 export
    makeData
  • 0.2-3
    record
    2023-01-27 · diff ↗ ·
    added 1 export
    makePSData
  • 0.2-2
    record
    2023-01-20 · diff ↗
  • 0.2
    record
    2022-12-01
  • R
    R 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.

APA

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

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.

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