Skip to content

The Matrix-Normal Inverse-Wishart Distribution

5packages dependsuggested by 2
4.2Kdownloads / year
74.5%test coverage
13/13flavors OK

Overview

About

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.

Changes in 1.0.2

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_VER switch unnecessary.
  • Removed unused variable ldV from C++ code.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 5.5 min · r-oldrel-windows-x86_64
Status changes
  • 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
Advisories

none known

Documentation

In release 1.0.2
README· In the repository, left out of the releaseVignettesYes · 1 · staticNEWSYes · 100% structured · mentions 1.0.2Citation fileNoWebsiteYes · pkgdown
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

4.2K
CRAN downloads in the past year
Rank #7,600 · ~12/day · ~352/mo
Daily download trend is not available in this view yet.
40430 days
1.2K90 days
4.2K1 year
Compare downloads with other packages →
Also on413 r2u4 autocran123 c2d4u

Repository

6Stars
0Forks
1Open issues
0Open PRs
0Releases
70Commits
2Commit identities
License file reads as GPL-3.0 · 70 commits · Last activity 2024-09-19 · 0% stars, 30d
Responsiveness
How these are sampled
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

2025-07-16 · 52026-07-07 · 6
PracticesBeta

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.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (3)
pkgdown

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)

How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
6 external dependencies (excludes base and recommended)

Installing mniw adds 2 packages (2 with compiled code, 3.5 MB of source tarballs). Heaviest: Rcpp 1.8 MB, RcppEigen 1.7 MB.

Depends (1)
R >= 2.10
Imports (1)
LinkingTo (2)
Enhances (0)
none
Reverse dependencies
5direct
1indirect
Imports 5
Suggested by 2
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

Datasets

People & History

People (2)
Author, Maintainer since 1.0 (2019)
Releases (3)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 1.0.2Latest
    record
    2024-09-22 · current release · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 1.0.1
    record
    2022-08-22 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 1.0
    record
    2019-10-09
  • R
    R 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
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("mniw")
Lysy, M., & Yates, B. (2024). mniw: The Matrix-Normal Inverse-Wishart Distribution (Version 1.0.2) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for mniw version 1.0.2 [Data set]. HJJB, LLC. Data release v2026-10-26. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy