Skip to content

mutualinf

2.0.4Package record

Computation and Decomposition of the Mutual Information Index

0packages depend
6.3Kdownloads / year
–test coverage
13/13flavors OK

Overview

About
Maintained by Cristian Angulo-GonzalezCRAN page ↗GitHub ↗Issues ↗Declared funders: FONDECYT/ANID Project 11170583, MCIN/AEI/10.13039/501100011033 (Project no. PID2019-108576RB-I00) and 1 more

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

CRAN checks
13OK
Slowest check: 4.3 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-04-22
  • ERROR13 OK, 1 ERROR2026-04-18
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 2.0.4
READMEYes · 1,552 wordsVignettesNoNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
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

6.3K
CRAN downloads in the past year
Rank #8,606 · ~17/day · ~524/mo
Daily download trend is not available in this view yet.
41130 days
1.1K90 days
6.3K1 year
Compare downloads with other packages →
Also on349 r2u7 autocran

Repository

3Stars
3Forks
0Open issues
0Open PRs
6Releases
102Commits
5Commit identities
102 commits · Last activity 2025-08-07
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-06-18 · 32026-07-07 · 3
PracticesBeta

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.

Docs source (1)
README.Rmd
Reproducibility and dev environment (1)
data-raw/
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)

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.

Depends (1)
R >= 2.10
Imports (5)
LinkingTo (2)
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (7)
Author, Maintainer since 2.0.1 (2025) · added in 2.0.1
Funder · added in 1.0.1
Funder · added in 1.0.1

Previously maintained by Rafael Fuentealba-Chaura (1.0.0 to 1.2.2).

Releases (11)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 2.0.4Latest
    record
    2025-08-24 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 2.0.3
    record
    2025-01-19 · diff ↗
  • 2.0.2
    record
    2025-01-18 · diff ↗
  • 2.0.1
    record
    2025-01-16 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 1.2.2
    record
    2024-02-02 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • unarchivedReturned to CRAN
    2023-03-27
  • 1.1.3
    record
    2023-03-27 · diff ↗
  • archivedRemoved from CRAN
    2023-03-17
    email to the maintainer is undeliverable
  • R
    R 4.2.0 released · 2022-04-22
  • 1.1.2
    record
    2021-10-28 · diff ↗
  • 1.1.1
    record
    2021-08-23 · diff ↗
  • 1.1.0
    record
    2021-08-16 · diff ↗
Show 3 earlier eventsHide 3 earlier events

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")
Angulo-Gonzalez, C., FONDECYT/ANID Project 11170583, MCIN/AEI/10.13039/501100011033 (Project no. PID2019-108576RB-I00), UCT VIP Project FEQUIP2019-INRN-03, Fuentealba-Chaura, R., Mora, R., & Rojas-Mora, J. (2025). mutualinf: Computation and Decomposition of the Mutual Information Index (Version 2.0.4) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

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

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.

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