aghq
0.4.1Adaptive Gauss Hermite Quadrature for Bayesian Inference
Overview
Adaptive Gauss Hermite Quadrature for Bayesian inference. The AGHQ method for normalizing posterior distributions and making Bayesian inferences based on them. Functions are provided for doing quadrature and marginal Laplace approximations, and summary methods are provided for making inferences based on the results. See Stringer (2021). "Implementing Adaptive Quadrature for Bayesian Inference: the aghq Package" arXiv:2101.04468.
Install
Health
- NOTE r-devel-linux-x86_64-debian-clang
- NOTE r-devel-linux-x86_64-debian-gcc
- NOTE r-devel-linux-x86_64-fedora-clang
- NOTE r-devel-linux-x86_64-fedora-gcc
- NOTE r-devel-windows-x86_64
- NOTE r-oldrel-macos-arm64
- NOTE r-oldrel-macos-x86_64
- NOTE r-oldrel-windows-x86_64
- NOTE r-patched-linux-x86_64
- NOTE r-release-linux-x86_64
- NOTE r-release-macos-arm64
- NOTE r-release-macos-x86_64
- NOTE r-release-windows-x86_64
- NOTE2026-03-100 OK · 14 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Downloads
Dependencies
Code & Tests
- Cyclomatic complexity
- 1.0 median / 19 max
- Test cases
- 5 / 0.56 per code line
- Documented parameters
- 98%
Test coverage
Line coverage
81%
Expression
81.9%
Tests / Examples
81.1% / 61% ex
Functions
91 33 exported
Complexity
2.9 avg / 19 max
Call network
91 nodes / 116 edges
Call graph
Open call graph →Lowest coverage
91 functions| Function | Cyclo | Coverage |
|---|---|---|
| marginal_laplace_tmb exp | 7 | 0% |
| compute_moment.default | 1 | 0% |
| compute_quantiles.aghq | 1 | 0% |
| compute_quantiles.list | 2 | 0% |
| get_nodesandweights.data.frame | 1 | 0% |
| get_nodesandweights.default | 1 | 0% |
People & History
Author records are not tracked yet for this package.
7 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 0.4.1Latest
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 0.4.02022-03-07 · diff ↗
- 0.3.12021-11-07 · diff ↗
- 0.3.02021-11-05 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 0.2.12021-05-13 · diff ↗
- 0.2.02021-05-10 · diff ↗
- 0.1.02021-01-18
- RR 4.0.0 released · 2020-04-24
Package metadata
- First published
- 2021-01-18
- Total releases
- 7 / 5 yrs
- License
- GPL (>= 3) OSI
- Minimum R
- ≥ 3.5.0
- Bundled data
- 17 KB / 2 files
- Download size
- 101 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet