The Inverse Gamma Distribution
Overview
Light weight implementation of the standard distribution functions for the inverse gamma distribution, wrapping those for the gamma distribution in the stats package.
New features
- **invgamma** has an updated README containing a simulation check on
rinvgamma().
Changes
rinvgamma()now warns forshapeless than 0.01, as it is unreliable there.rinvchisq()now warns fordf <= .01andncp <= 10, as it is unreliable there.- PDF functions now return
0atx = 0and-Infatx = 0on a log scale, consistent with the gamma distribution functions. - **invgamma** now cautions users about the parameterizations used in
(d/p/q/r)invgamma()functions. - **invgamma** now has a MIT license.
- Quantile functions now perform properly on a log scale, thanks to Keefe Murphy!
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 3
- Examples that run
- 100%3 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 45%
- Return-value docs
- 0%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 2
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
8 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/dkahle/invgamma on 2026-10-18.
GitHub Pages site last deployed 2025-08-25 · The repository has a site deploy workflow
Show all practicesHide 1 practice
Dependencies
Installing invgamma adds no packages beyond those that come with R.
Show all 25 packagesHide all 25 packages
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 1.2Latest
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- 1.12017-05-07 · diff ↗
- RR 3.4.0 released · 2017-04-21
- 1.02016-07-02 · diff ↗ ·
added 8 exports
dinvchisq, dinvexp, pinvchisq, pinvexp, qinvchisq, qinvexp, rinvchisq, rinvexp - 0.02016-06-24
- RR 3.3.0 released · 2016-05-03
Package metadata
- First published
- 2016-06-24
- Total releases
- 4 / 10 yrs
- License
- MIT + file LICENSE OSI · relicensed from GPL-2 in 1.2
- Download size
- 2.5 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("invgamma")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-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.