Density, Probability, Quantile ('DPQ') Computations
Overview
Computations for approximations and alternatives for the 'DPQ' (Density (pdf), Probability (cdf) and Quantile) functions for probability distributions in R. Primary focus is on (central and non-central) beta, gamma and related distributions such as the chi-squared, F, and t. -- For several distribution functions, provide functions implementing formulas from Johnson, Kotz, and Kemp (1992) doi:10.1002/bimj.4710360207 and Johnson, Kotz, and Balakrishnan (1995) for discrete or continuous distributions respectively. This is for the use of researchers in these numerical approximation implementations, notably for my own use in order to improve standard R pbeta(), qgamma(), ..., etc: {'"dpq"'-functions}.
NEW FEATURES
- New
laBeta().
BUG FIXES
- Re-add bib.ref.
KenWG80. - Tweaks in
R/beta-fns.R. - Ensure for all exported functions.
Misc
- No longer export the Wienergerm utilities
g2(),h(),hnt(), etc. tests/ppois-ex.Rshould no longer fail on Linux arm64.- More speed up for
man/dnt.Rdexample whendoExtrais false. vignettes/qnorm-asymp.Rnwupdate to 2026; mention practical inference non-relevance.
From inst/NEWS.Rd in the release
Install
Health
- OK13 OK2026-09-09
- NOTE8 OK, 5 NOTE2026-07-24
- ERROR8 OK, 4 NOTE, 1 ERROR2026-07-23
- NOTE12 OK, 1 NOTE2026-07-12
- OK13 OK2026-06-27
Show 2 earlier changesHide 2 earlier changes
- WARNING12 OK, 1 WARNING2026-06-14
- OK14 OK2026-03-10
Documentation
- Help pages
- 81includes a package overview page
- Examples that run
- 94%76 run in a plain check · 1 only when donttest examples are enabled (R CMD check --as-cran) · 4 hold no code
- Exported functions with examples
- 100%
- Documented parameters
- 71%
- Return-value docs
- 99%
- Help pages citing references
- 84%
Downloads
Repository
Repository r-forge.r-project.org/scm/viewvc.php is linked, but repository-practices checks have not run for it yet. Checks are GitHub-only for now.
Dependencies
Installing DPQ adds 1 package (0 with compiled code, 187 KB of source tarballs). Heaviest: sfsmisc 187 KB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 0.6-2Latest2026-09-06 · current release · diff ↗ ·
removed 9 exports
g2, gnt, h, h0, h1, h2, hnt, pntChShP94, pntChShP94.1added 1 export
laBeta - RR 4.6.0 released · 2026-04-24
- 0.6-12025-10-13 · diff ↗ ·
added 9 exports
gam1, gamln1., pbetaAS_eq20, pbetaAS_eq21, pbetaNorm2, .pbeta.eq20, .pbeta.eq21, .pbetaSeq20, .pbetaSeq21 - 0.6-02025-07-08 · diff ↗ ·
removed 1 export
logcfR.added 4 exports
dltgammaInc, lgammaP11, logcfR_vec, bd0_p1l1 - RR 4.5.0 released · 2025-04-11
- 0.5-92024-08-24 · diff ↗ ·
added 14 exports
pow, pow_di, .pow, gam1d, gamln1, pntVW13, pntGST23_T6, pntGST23_T6.1, pntGST23_1, Ixpq, pow1p, stirlerrC, expm1x, expm1xTser - RR 4.4.0 released · 2024-04-24
- 0.5-82023-12-01 · diff ↗
- 0.5-72023-11-03 · diff ↗
- 0.5-62023-09-07 · diff ↗
- 0.5-52023-06-23 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 0.5-4
- 0.5-32022-12-01 · diff ↗ ·
added 13 exports
gammaVer, qnormAsymp, qnormUappr6, qntR, qntR1, qtNappr, qtU, qtU1, qtR, qtR1, chebyshevPoly, chebyshevEval, chebyshev_nc - 0.5-2
- RR 4.2.0 released · 2022-04-22
Show 11 earlier eventsHide 11 earlier events
- 0.5-12021-12-13 · diff ↗
- 0.5-0
- 0.4-4
- RR 4.1.0 released · 2021-05-18
- 0.4-32021-05-05 · diff ↗ ·
added 20 exports
log1mexpC, log1pexpC, log1pmxC, lgamma1pC, lgammacor, logcfR, logcfR., qpoisR, bd0C, ebd0, p1l1, p1l1., p1l1p, p1l1ser, dbinom_raw, dnbinomR, dnbinom.mu, qbinomR, qnbinomR, pnormAsymp - 0.4-2
- 0.4-12020-06-20 · diff ↗ ·
added 27 exports
Bern, .suppHyper, dhyperBinMolenaar, hyper2binomP, lfastchoose, f05lchoose, lgammaAsymp, phyper1molenaar, phyper2molenaar, phyperAllBin, phyperAllBinM, phyperApprAS152, phyperBin.1, phyperBin.2, phyperBin.3, phyperBin.4, phyperBinMolenaar, phyperBinMolenaar.1, phyperBinMolenaar.2, phyperBinMolenaar.3, phyperBinMolenaar.4, phyperIbeta, phyperPeizer, phyperR, phypers, pdhyper, phyperR2 - RR 4.0.0 released · 2020-04-24
- 0.3-5
- 0.3-32019-10-02
- RR 3.6.0 released · 2019-04-26
Package metadata
- First published
- 2019-10-02
- Total releases
- 19 / 7 yrs
- License
- GPL (>= 2) | file LICENSE OSI
- Minimum R
- ≥ 4.1.0
- Bundled data
- 1.1 KB / 1 file
- Download size
- 2.0 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("DPQ")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-17, which the citation names so these numbers can be found later. More on citing and the projects behind them.