Computation and Decomposition of the Mutual Information Index
Overview
The Mutual Information Index (M) introduced to social science literature by Theil and Finizza (1971) doi:10.1080/0022250X.1971.9989795 is a multigroup segregation measure that is highly decomposable and that according to Frankel and Volij (2011) doi:10.1016/j.jet.2010.10.008 and Mora and Ruiz-Castillo (2011) doi:10.1111/j.1467-9531.2011.01237.x satisfies the Strong Unit Decomposability and Strong Group Decomposability properties. This package allows computing and decomposing the total index value into its "between" and "within" terms. These last terms can also be decomposed into their contributions, either by group or unit characteristics. The factors that produce each "within" term can also be displayed at the user's request. The results can be computed considering a variable or sets of variables that define separate clusters.
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-04-22
- ERROR13 OK, 1 ERROR2026-04-18
- OK14 OK2026-03-10
Documentation
- Help pages
- 6includes a package overview page
- Examples that run
- 0%2 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 33%
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
Forks over time
Releases over time
PRs over time
3 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/rafaelfuentealbac/mutualinf on 2026-10-21.
Dependencies
Installing mutualinf adds 4 packages (4 with compiled code, 9.5 MB of source tarballs). Heaviest: data.table 5.7 MB, Rcpp 1.8 MB, RcppArmadillo 1.0 MB.
Code & Tests
Datasets
People & History
Previously maintained by Rafael Fuentealba-Chaura (1.0.0 to 1.2.2).
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 2.0.4Latest
- RR 4.5.0 released · 2025-04-11
- 2.0.32025-01-19 · diff ↗
- 2.0.22025-01-18 · diff ↗
- 2.0.12025-01-16 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 1.2.22024-02-02 · diff ↗
- RR 4.3.0 released · 2023-04-21
- unarchivedReturned to CRAN2023-03-27
- 1.1.32023-03-27 · diff ↗
- archivedRemoved from CRAN2023-03-17email to the maintainer is undeliverable
- RR 4.2.0 released · 2022-04-22
- 1.1.22021-10-28 · diff ↗
- 1.1.12021-08-23 · diff ↗
- 1.1.02021-08-16 · diff ↗
Package metadata
- First published
- 2021-07-13
- Total releases
- 11 / 5 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 2.10
- Bundled data
- 234 KB / 3 files
- Download size
- 257 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("mutualinf")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-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.