Package: coga 1.2.3

coga: Convolution of Gamma Distributions

Evaluation for density and distribution function of convolution of gamma distributions in R. Two related exact methods and one approximate method are implemented with efficient algorithm and C++ code. A quick guide for choosing correct method and usage of this package is given in package vignette. For the detail of methods used in this package, we refer the user to Mathai(1982)<doi:10.1007/BF02481056>, Moschopoulos(1984)<doi:10.1007/BF02481123>, Barnabani(2017)<doi:10.1080/03610918.2014.963612>, Hu et al.(2020)<doi:10.1007/s00180-019-00924-9>.

Authors:Chaoran Hu [aut, cre], Vladimir Pozdnyakov [ths], Jun Yan [ths]

coga_1.2.3.tar.gz
coga_1.2.3.zip(r-4.7)coga_1.2.3.zip(r-4.6)coga_1.2.3.zip(r-4.5)
coga_1.2.3.tgz(r-4.6-x86_64)coga_1.2.3.tgz(r-4.6-arm64)coga_1.2.3.tgz(r-4.5-x86_64)coga_1.2.3.tgz(r-4.5-arm64)
coga_1.2.3.tar.gz(r-4.7-arm64)coga_1.2.3.tar.gz(r-4.7-x86_64)coga_1.2.3.tar.gz(r-4.6-arm64)coga_1.2.3.tar.gz(r-4.6-x86_64)
coga_1.2.3.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
coga/json (API)
NEWS

# Install 'coga' in R:
install.packages('coga', repos = c('https://chaoranhu.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/chaoranhu/coga/issues

Uses libs:
  • gsl– GNU Scientific Library (GSL)
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

convolutiongamma-distributionsgslcpp

4.81 score 4 stars 16 scripts 351 downloads 1 mentions 8 exports 3 dependencies

Last updated from:613c20ff10. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK134
linux-devel-x86_64OK143
source / vignettesOK191
linux-release-arm64OK124
linux-release-x86_64OK140
macos-release-arm64OK128
macos-release-x86_64OK386
macos-oldrel-arm64OK162
macos-oldrel-x86_64OK302
windows-develOK110
windows-releaseOK108
windows-oldrelOK129
wasm-releaseOK118

Exports:dcogadcoga_approxdcoga2dimpcogapcoga_approxpcoga2dimpcoga2dim_diff_shapercoga

Dependencies:cubatureRcppRcppGSL

Quick guide for 'coga'

Rendered fromquick_guide.pdf.asisusingR.rsp::asison May 06 2026.

Last update: 2018-05-08
Started: 2018-05-08