{
  "_id": "6afeef12d65881f9616f47bc",
  "Package": "coga",
  "Title": "Convolution of Gamma Distributions",
  "Version": "1.2.3",
  "Date": "2026-03-06",
  "Authors@R": "c(\nperson(\"Chaoran\", \"Hu\", email = \"huchaoran.stat@gmail.com\", role = c(\"aut\", \"cre\")),\nperson(\"Vladimir\", \"Pozdnyakov\", email = \"vladimir.pozdnyakov@uconn.edu\", role = \"ths\"),\nperson(\"Jun\", \"Yan\", email = \"jun.yan@uconn.edu\", role = \"ths\"))",
  "Description": "Evaluation for density and distribution function of\nconvolution of gamma distributions in R. Two related exact\nmethods and one approximate method are implemented with\nefficient algorithm and C++ code. A quick guide for choosing\ncorrect method and usage of this package is given in package\nvignette. For the detail of methods used in this package, we\nrefer the user to Mathai(1982)<doi:10.1007/BF02481056>,\nMoschopoulos(1984)<doi:10.1007/BF02481123>,\nBarnabani(2017)<doi:10.1080/03610918.2014.963612>, Hu et\nal.(2020)<doi:10.1007/s00180-019-00924-9>.",
  "License": "GPL (>= 3.0)",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.2.3",
  "VignetteBuilder": "R.rsp",
  "BugReports": "https://github.com/ChaoranHu/coga/issues",
  "URL": "https://github.com/ChaoranHu/coga",
  "NeedsCompilation": "yes",
  "SystemRequirements": "GNU GSL",
  "Config/pak/sysreqs": "make libgsl0-dev",
  "Repository": "https://chaoranhu.r-universe.dev",
  "Date/Publication": "2026-03-07 01:39:15 UTC",
  "RemoteUrl": "https://github.com/chaoranhu/coga",
  "RemoteRef": "HEAD",
  "RemoteSha": "613c20ff10d0eed002d2ffccb924867d65548f99",
  "Packaged": {
    "Date": "2026-11-19 12:35:06 UTC",
    "User": "root"
  },
  "Author": "Chaoran Hu [aut, cre],\nVladimir Pozdnyakov [ths],\nJun Yan [ths]",
  "Maintainer": "Chaoran Hu <huchaoran.stat@gmail.com>",
  "_user": "chaoranhu",
  "_type": "src",
  "_file": "coga_1.2.3.tar.gz",
  "_fileid": "https://r2.ropensci.org/ed245e68a6de0cf3437c99faeea4e9fe4ad8b0bc76f1558a229218bc6aa237eb",
  "_filesize": 545731,
  "_sha256": "ed245e68a6de0cf3437c99faeea4e9fe4ad8b0bc76f1558a229218bc6aa237eb",
  "_expires": "2027-02-27T12:44:00.000Z",
  "_created": "2026-11-19T12:35:06.000Z",
  "_published": "2026-11-20T01:12:14.313Z",
  "_upstream": "https://github.com/chaoranhu/coga",
  "_status": "success",
  "_maintainer": {
    "name": "Chaoran Hu",
    "email": "huchaoran.stat@gmail.com",
    "login": "chaoranhu",
    "description": "Statistician in Pharma",
    "uuid": 25856430
  },
  "_jobs": [
    {
      "job": 135564224643,
      "time": 149,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14530465161"
    },
    {
      "job": 135564224824,
      "time": 151,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14528309790"
    },
    {
      "job": 135564226704,
      "time": 136,
      "config": "linux-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14528384576"
    },
    {
      "job": 135564224732,
      "time": 119,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14530100488"
    },
    {
      "job": 135564224722,
      "time": 88,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14530046041"
    },
    {
      "job": 135564224662,
      "time": 189,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14529679179"
    },
    {
      "job": 135564225406,
      "time": 119,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14530705005"
    },
    {
      "job": 135564224783,
      "time": 285,
      "config": "macos-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14530460618"
    },
    {
      "job": 135562272215,
      "time": 216,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14531010000"
    },
    {
      "job": 135564225092,
      "time": 113,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14529434117"
    },
    {
      "job": 135564225199,
      "time": 224,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14528409863"
    },
    {
      "job": 135564224666,
      "time": 141,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14530975538"
    },
    {
      "job": 135564224659,
      "time": 176,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14529194610"
    },
    {
      "job": 135564225495,
      "time": 188,
      "config": "windows-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14531270533"
    },
    {
      "job": 135564225084,
      "time": 162,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14528314735"
    }
  ],
  "_buildurl": "https://github.com/r-universe/chaoranhu/actions/runs/44524710275",
  "_commit": {
    "id": "613c20ff10d0eed002d2ffccb924867d65548f99",
    "author": "Chaoran Hu <huchaoran.stat@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Delete CRAN-SUBMISSION",
    "time": 1772847555
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.3.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppGSL",
      "role": "LinkingTo"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "cubature",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "R.rsp",
      "role": "Suggests"
    }
  ],
  "_owner": "chaoranhu",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-10",
      "n": 3
    }
  ],
  "_tags": [
    {
      "name": "v1.2.3",
      "date": "2026-03-07"
    }
  ],
  "_topics": [
    "convolution",
    "gamma-distributions",
    "gsl",
    "cpp"
  ],
  "_stars": 4,
  "_contributors": [
    {
      "user": "chaoranhu",
      "count": 99,
      "uuid": 25856430
    }
  ],
  "_userbio": {
    "uuid": 25856430,
    "type": "user",
    "name": "Chaoran Hu",
    "followers": 17,
    "description": "Statistician in Pharma"
  },
  "_downloads": {
    "count": 634,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/coga"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/chaoranhu/coga",
  "_abi": {
    "exports": [
      {
        "key": "coga/include",
        "hash": "b458b02f7c06a277"
      },
      {
        "key": "coga::_coga_GNB()",
        "hash": "eebf1331c72b420f"
      },
      {
        "key": "coga::_coga_NB()",
        "hash": "36ea258b8dcd0a3b"
      },
      {
        "key": "coga::_coga_RcppExport_validate()",
        "hash": "fc98bccb20b2fc60"
      },
      {
        "key": "coga::_coga_dcoga()",
        "hash": "36ea258b8dcd0a3b"
      },
      {
        "key": "coga::_coga_dcoga2dim()",
        "hash": "eebf1331c72b420f"
      },
      {
        "key": "coga::_coga_dcoga2dim_nv()",
        "hash": "eebf1331c72b420f"
      },
      {
        "key": "coga::_coga_dcoga_approx()",
        "hash": "36ea258b8dcd0a3b"
      },
      {
        "key": "coga::_coga_dcoga_approx_nv()",
        "hash": "36ea258b8dcd0a3b"
      },
      {
        "key": "coga::_coga_get_A()",
        "hash": "36ea258b8dcd0a3b"
      },
      {
        "key": "coga::_coga_get_b_GNB()",
        "hash": "36ea258b8dcd0a3b"
      },
      {
        "key": "coga::_coga_get_mu()",
        "hash": "9b851b38c3049e0f"
      },
      {
        "key": "coga::_coga_get_mu2()",
        "hash": "9b851b38c3049e0f"
      },
      {
        "key": "coga::_coga_get_mu3()",
        "hash": "9b851b38c3049e0f"
      },
      {
        "key": "coga::_coga_get_p_GNB()",
        "hash": "33a97ea62b293da6"
      },
      {
        "key": "coga::_coga_get_p_NB()",
        "hash": "9b851b38c3049e0f"
      },
      {
        "key": "coga::_coga_get_r_GNB()",
        "hash": "36ea258b8dcd0a3b"
      },
      {
        "key": "coga::_coga_get_r_NB()",
        "hash": "9b851b38c3049e0f"
      },
      {
        "key": "coga::_coga_pcoga()",
        "hash": "36ea258b8dcd0a3b"
      },
      {
        "key": "coga::_coga_pcoga2dim()",
        "hash": "eebf1331c72b420f"
      },
      {
        "key": "coga::_coga_pcoga2dim_diff_shape()",
        "hash": "eebf1331c72b420f"
      },
      {
        "key": "coga::_coga_pcoga2dim_nv()",
        "hash": "eebf1331c72b420f"
      },
      {
        "key": "coga::_coga_pcoga_approx()",
        "hash": "36ea258b8dcd0a3b"
      },
      {
        "key": "coga::_coga_pcoga_approx_nv()",
        "hash": "36ea258b8dcd0a3b"
      },
      {
        "key": "coga::_coga_salvo_integrand()",
        "hash": "046200fd2348e040"
      },
      {
        "key": "coga::_coga_salvo_multi_comp()",
        "hash": "36ea258b8dcd0a3b"
      }
    ],
    "imports": [
      {
        "key": "Rcpp::Rcpp_precious_preserve()",
        "hash": "33a97ea62b293da6"
      },
      {
        "key": "Rcpp::Rcpp_precious_remove()",
        "hash": "63d26947ba7e1377"
      },
      {
        "key": "Rcpp::dataptr()",
        "hash": "54e69ad2e6668c83"
      },
      {
        "key": "Rcpp::demangle()",
        "hash": "b0cfd6754c5ebc4e"
      },
      {
        "key": "Rcpp::enterRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::exitRNGScope()",
        "hash": "a04a299137cef947"
      }
    ]
  },
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/coga.html",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/chaoranhu/coga",
  "_realowner": "chaoranhu",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2017-05-25"
    },
    {
      "version": "0.2.0",
      "date": "2017-06-28"
    },
    {
      "version": "0.2.1",
      "date": "2017-07-27"
    },
    {
      "version": "0.2.2",
      "date": "2018-01-12"
    },
    {
      "version": "1.0.0",
      "date": "2018-05-08"
    },
    {
      "version": "1.1.0",
      "date": "2019-10-08"
    },
    {
      "version": "1.1.1",
      "date": "2021-10-07"
    },
    {
      "version": "1.2.0",
      "date": "2023-08-20"
    },
    {
      "version": "1.2.1",
      "date": "2023-11-29"
    },
    {
      "version": "1.2.2",
      "date": "2024-01-10"
    },
    {
      "version": "1.2.3",
      "date": "2026-03-07"
    }
  ],
  "_exports": [
    "dcoga",
    "dcoga_approx",
    "dcoga2dim",
    "pcoga",
    "pcoga_approx",
    "pcoga2dim",
    "pcoga2dim_diff_shape",
    "rcoga"
  ],
  "_help": [
    {
      "page": "coga",
      "title": "coga: Convolution of independent Gamma Distributions",
      "topics": [
        "coga-package",
        "coga"
      ]
    },
    {
      "page": "dcoga",
      "title": "Convolution of Gamma Distributions (Exact Method).",
      "topics": [
        "dcoga",
        "pcoga",
        "rcoga"
      ]
    },
    {
      "page": "dcoga_approx",
      "title": "Convolution of Gamma distribuitons (Approximation Method)",
      "topics": [
        "dcoga_approx",
        "pcoga_approx"
      ]
    },
    {
      "page": "dcoga2dim",
      "title": "Convolution of Two Gamma Distributions (Exact Method).",
      "topics": [
        "dcoga2dim",
        "pcoga2dim"
      ]
    },
    {
      "page": "pcoga2dim_diff_shape",
      "title": "Recurrence Identity of Shape Parameter for 'pcoga2dim'",
      "topics": [
        "pcoga2dim_diff_shape"
      ]
    }
  ],
  "_readme": "https://github.com/chaoranhu/coga/raw/HEAD/README.md",
  "_rundeps": [
    "cubature",
    "Rcpp",
    "RcppGSL"
  ],
  "_sysdeps": [
    {
      "shlib": "libgsl",
      "package": "libgsl28",
      "headers": "libgsl-dev",
      "source": "gsl",
      "version": "2.8+dfsg-6",
      "name": "gsl",
      "homepage": "https://www.gnu.org/software/gsl",
      "description": "GNU Scientific Library (GSL) -- library package"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "quick_guide.pdf.asis",
      "filename": "quick_guide.pdf",
      "title": "Quick guide for 'coga'",
      "engine": "R.rsp::asis",
      "headings": [
        "1. Exact evaluation of convolution of gamma variables",
        "2. Approximate evaluation of convolution of gamma variables",
        "3. Parameter recycling",
        "References"
      ],
      "created": "2018-05-08 19:10:44",
      "modified": "2018-05-08 19:10:44",
      "commits": 1
    }
  ],
  "_score": 4.301029995663981,
  "_indexed": true,
  "_nocasepkg": "coga",
  "_universes": [
    "chaoranhu"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.3",
      "date": "2026-11-19T12:37:42.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "613c20ff10d0eed002d2ffccb924867d65548f99",
      "fileid": "https://r2.ropensci.org/20ec68d88d47258c3abd197de6bcf1cd4e012659e8effd5350f1e33a952f2c2f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/chaoranhu/actions/runs/44524710275"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.3",
      "date": "2026-11-19T12:37:43.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "613c20ff10d0eed002d2ffccb924867d65548f99",
      "fileid": "https://r2.ropensci.org/9cc4fb6ff56911a6a9206b9ba7f1cbe18b509a73d7d9c7ebe72e5d5c1987345c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/chaoranhu/actions/runs/44524710275"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.2.3",
      "date": "2026-11-19T12:37:33.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "613c20ff10d0eed002d2ffccb924867d65548f99",
      "fileid": "https://r2.ropensci.org/3e6d2b1294d7177cc001940abb16dd40a765076a1de0ba4be9006ab684a4bb6a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/chaoranhu/actions/runs/44524710275"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.2.3",
      "date": "2026-11-19T12:37:10.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "613c20ff10d0eed002d2ffccb924867d65548f99",
      "fileid": "https://r2.ropensci.org/16f4ae470311e58580bd30c703ca482a5d159cacb63539908ead3a2797fe6d11",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/chaoranhu/actions/runs/44524710275"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.3",
      "date": "2026-11-19T12:39:25.000Z",
      "arch": "aarch64",
      "commit": "613c20ff10d0eed002d2ffccb924867d65548f99",
      "fileid": "https://r2.ropensci.org/d464842c333b197c1acbe8135bed49a566db2bbd3ea8745754f357b4abf5a149",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/chaoranhu/actions/runs/44524710275"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.3",
      "date": "2026-11-19T12:38:24.000Z",
      "arch": "x86_64",
      "commit": "613c20ff10d0eed002d2ffccb924867d65548f99",
      "fileid": "https://r2.ropensci.org/a37a5406e7efd11ff71eea4cf1e36c363dc81eb11d1d0418adaa0759d3520ae0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/chaoranhu/actions/runs/44524710275"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.2.3",
      "date": "2026-11-19T12:40:40.000Z",
      "arch": "aarch64",
      "commit": "613c20ff10d0eed002d2ffccb924867d65548f99",
      "fileid": "https://r2.ropensci.org/008532062672b0bc074dc66199693337fdfe7c56e896fe4bf65b0a06a9a6ae5b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/chaoranhu/actions/runs/44524710275"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.2.3",
      "date": "2026-11-19T12:42:28.000Z",
      "arch": "x86_64",
      "commit": "613c20ff10d0eed002d2ffccb924867d65548f99",
      "fileid": "https://r2.ropensci.org/77b5c75eb7ab01f6af8a662fa814af8379dbda7a111238227d87a732e8896513",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/chaoranhu/actions/runs/44524710275"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.3",
      "date": "2026-11-19T12:37:17.000Z",
      "arch": "emscripten",
      "commit": "613c20ff10d0eed002d2ffccb924867d65548f99",
      "fileid": "https://r2.ropensci.org/2cff5857d3f3f687814634d92a52c871818c93d2c8336c81d3de2fd5d37d8248",
      "status": "success",
      "buildurl": "https://github.com/r-universe/chaoranhu/actions/runs/44524710275"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.3",
      "date": "2026-11-19T12:38:38.000Z",
      "arch": "aarch64",
      "commit": "613c20ff10d0eed002d2ffccb924867d65548f99",
      "fileid": "https://r2.ropensci.org/3eddde0dc589632071560cd006b9ac018c42fd01037e43d35a0c7392097d6c7c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/chaoranhu/actions/runs/44524710275"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.3",
      "date": "2026-11-19T12:36:32.000Z",
      "arch": "x86_64",
      "commit": "613c20ff10d0eed002d2ffccb924867d65548f99",
      "fileid": "https://r2.ropensci.org/718aa326861681b0b5117353ec17635c3c1802d0688697318f66faec41ac2598",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/chaoranhu/actions/runs/44524710275"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.3",
      "date": "2026-11-19T12:36:49.000Z",
      "arch": "x86_64",
      "commit": "613c20ff10d0eed002d2ffccb924867d65548f99",
      "fileid": "https://r2.ropensci.org/bbb4afb497568251ff2e29d5b1e6f63279c027a8871149cb2926016e300860a8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/chaoranhu/actions/runs/44524710275"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.2.3",
      "date": "2026-11-19T12:38:04.000Z",
      "arch": "aarch64",
      "commit": "613c20ff10d0eed002d2ffccb924867d65548f99",
      "fileid": "https://r2.ropensci.org/938ebcd907b41e2484631ff8a3c6e8a5e77b7414d4f2b7a826f39af3a559535a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/chaoranhu/actions/runs/44524710275"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.2.3",
      "date": "2026-11-19T12:36:30.000Z",
      "arch": "x86_64",
      "commit": "613c20ff10d0eed002d2ffccb924867d65548f99",
      "fileid": "https://r2.ropensci.org/fa426258d59472509e3909ba42ae0f33ae6065912b86eb97d0c48d91385058d9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/chaoranhu/actions/runs/44524710275"
    }
  ]
}