The Matrix-Normal Inverse-Wishart Distribution
Overview
Density evaluation and random number generation for the Matrix-Normal Inverse-Wishart (MNIW) distribution, as well as the the Matrix-Normal, Matrix-T, Wishart, and Inverse-Wishart distributions. Core calculations are implemented in a portable (header-only) C++ library, with matrix manipulations using the 'Eigen' library for linear algebra. Also provided is a Gibbs sampler for Bayesian inference on a random-effects model with multivariate normal observations.
Minor Changes
- roxygen documentation now uses Markdown.
- Minor reformatting of package vignette.
Bug Fixes
- Fixed
foo.template method<>()calls to comply with Clang-19, per CRAN request. This made previous usage of_MSC_VERswitch unnecessary. - Removed unused variable
ldVfrom C++ code.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK12 OK2026-04-25
- NOTE12 OK, 2 NOTE2026-04-22
- ERROR11 OK, 2 NOTE, 1 ERROR2026-04-18
Show 1 earlier changeHide 1 earlier change
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 10includes a package overview page
- Examples that run
- 100%7 run in a plain check
- Exported functions with examples
- 88%
- Documented parameters
- 95%
- Return-value docs
- 88%
- Help pages citing references
- 10%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- not measured
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Issues over time
5 development-tooling and community-health practices detected across 2 families in the upstream repository
Checks run against github.com/mlysy/mniw on 2026-10-25.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2024-09-19 · The repository has a site deploy workflow
pkgdown site last built 2024-09-19, before release 1.0.2 (2024-09-22)
Dependencies
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 1.0.2Latest
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 1.0.12022-08-22 · diff ↗
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- 1.02019-10-09
- RR 3.6.0 released · 2019-04-26
Package metadata
- First published
- 2019-10-09
- Total releases
- 3 / 7 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 2.10
- Bundled data
- 0.6 KB / 1 file
- Download size
- 47 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("mniw")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-26, which the citation names so these numbers can be found later. More on citing and the projects behind them.