Skip to content

distcrete

1.0.3

Discrete Distribution Approximations

5packages depend
18.5Kdownloads / year
100.0%test coverage
13/13checks pass

Overview

About
Maintained by Steph LockeFirst published 2017-11-231 releasesCRAN page ↗GitHub ↗

Creates discretised versions of continuous distribution functions by mapping continuous values to an underlying discrete grid, based on a (uniform) frequency of discretisation, a valid discretisation point, and an integration range. For a review of discretisation methods, see Chakraborty (2015) doi:10.1186/s40488-015-0028-6.

Install

Health

CRAN checks
13OK
Slowest check: 56 s · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 1.45
100.0%
Coverage · measured lines
100%
Documentation · exports
0
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-03-10
    11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 169 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 67% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
0%
References docs
0%

Downloads

18.5K
CRAN downloads in the past year
Rank #3,184 · ~51/day · ~1.5K/mo
Daily download trend is not available in this view yet.
62130 days
3.7K90 days
18.5K1 year
Compare downloads with other packages →
Also on137 r2u11 autocran72 c2d4u

Repository

Repository
5Stars
1Forks
9Open issues
0Open PRs
1Releases
46Commits
5Contributors
46 commits · Last activity 2017-12-06

Stars over time

2024-04-01 · 52026-07-07 · 5

Repository practices

Upstream repositoryBeta

6 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/reconhub/distcrete on 2026-08-16.

Continuous integration (2)
Travis CIAppVeyor
Reproducibility and dev environment (1)
Makefile
CRAN release process (1)
cran-comments.md
Docs source (1)
README.Rmd
Show all practices
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
3 external dependencies (excludes base and recommended)
Depends (0)
none
Imports (0)
none
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
5direct
1indirect

Code & Tests

People & History

People (4)
Maintainer (1)
Maintainer
Authors (3)
Package Timeline

1 release. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.0.3Latest
    2026-03-10 · current release
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2017-11-23
Total releases
1 / 9 yrs
License
MIT + file LICENSE OSI
Download size
43 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("distcrete")
Locke, S., Cori, A., FitzJohn, R., & Jombart, T. (2017). distcrete: Discrete Distribution Approximations (Version 1.0.3) [Computer software]. https://doi.org/10.32614/CRAN.package.distcrete

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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 distcrete version 1.0.3 [Data set]. HJJB, LLC. Data release v2026-08-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-18, 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