Skip to content

IMIFA

2.2.0Package record

Infinite Mixtures of Infinite Factor Analysers and Related Models

1packages depend
5.1Kdownloads / year
–test coverage
11/13flavors OK

Overview

About

Provides flexible Bayesian estimation of Infinite Mixtures of Infinite Factor Analysers and related models, for nonparametrically clustering high-dimensional data, introduced by Murphy et al. (2020) doi:10.1214/19-BA1179. The IMIFA model conducts Bayesian nonparametric model-based clustering with factor analytic covariance structures without recourse to model selection criteria to choose the number of clusters or cluster-specific latent factors, mostly via efficient Gibbs updates. Model-specific diagnostic tools are also provided, as well as many options for plotting results, conducting posterior inference on parameters of interest, posterior predictive checking, and quantifying uncertainty.

Changes in 2.2.0

New Features

  • get_IMIFA_results gains the arg. adapt, allowing automatic, post-hoc truncation of

redundant factors in cases where mcmc_IMIFA was called with adapt=FALSE only

(provided relevant parameters were stored) for the "IFA", "MIFA", "OMIFA", & "IMIFA" methods.

  • mgpControl gains the active.crit arg. to allow the criterion for determining the number of

active factors of Schiavon & Canale (2020) to be used (for "IFA" models only); this is available

for both mcmc_IMIFA with adapt=TRUE directly and the aforementioned post-hoc adaptation using

get_IMIFA_results, though the old criterion of Bhattacharya & Dunson (2011), active.crit="BD",

remains the default for all infinite factor models in each case. See documentation for details.

Improvements, Bug Fixes, & Miscellaneous Edits

  • Models with range.Q=0 now work again for the "FA", "MFA", "OMFA", & "IMFA" methods.

_(with thanks to @abcoxyzide for flagging the issue)_

Show all changes in 2.2.0Hide the rest of the changes in 2.2.0
  • The mgpControl arg. delta0g now also governs beta.d1, beta.d2, & sigma.hyper, in addition to alpha.d1 & alpha.d2.
  • Improved documentation & checks related to the Ledermann bound + added various references to, & warnings for, the stricter Q <= floor((P - 1)/2) restriction throughout the package.
  • Minor fixes for "MFA"/"MIFA" models when mu0g, psi0g, &/or delta0g is TRUE, particularly when length(range.G) > 1.
  • Minor speed-up to G_priorDensity when discount is non-zero.
  • Extensive edits to avoid overheads introduced in matrixStats (>= 1.0.0) + related minor speed-ups.
  • Now using newer CITATION commands & updated License: GPL (>= 3).

From inst/NEWS.md in the release

Install

Health

CRAN checks
2NOTE11OK
Check messages
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Keefe Murphy <keefe.murphy@mu.ie>’

The BugReports field in DESCRIPTION has
  https://github.com/Keefe-Murphy/IMIFA
which should likely be
  https://github.com/Keefe-Murphy/IMIFA/issues
instead.

CRAN check page ↗

Slowest check: 3.1 min · r-oldrel-windows-x86_64
Status changes
  • NOTE11 OK, 2 NOTENow
  • NOTE12 OK, 2 NOTE2026-03-10
Advisories

none known

Documentation

In release 2.2.0
READMEYes · 271 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 2.2.0Citation fileYes · cites a publicationWebsitenot declared in DESCRIPTION
Help pages
35includes a package overview page
Examples that run
82%28 run in a plain check · 1 only when donttest examples are enabled (R CMD check --as-cran) · 5 hold no code
Exported functions with examples
100%
Documented parameters
92%
Return-value docs
100%
Help pages citing references
66%

Downloads

5.1K
CRAN downloads in the past year
Rank #6,165 · ~14/day · ~427/mo
Daily download trend is not available in this view yet.
57230 days
1.3K90 days
5.1K1 year
Compare downloads with other packages →
Also on127 r2u6 autocran232 c2d4u

Repository

9Stars
1Forks
0Open issues
0Open PRs
18Releases
1,047Commits
3Commit identities
dimension-reductionbayesian-nonparametricsfactor-analysisgaussian-mixture-modelmodel-based-clustering
License file reads as GPL-3.0 · 1,047 commits · Last activity 2023-12-12 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
not measured
Median days to close, 50 most recently updated closed issues
249
Median days to close, 50 most recently updated closed PRs
not measured

Stars over time

2024-07-11 · 62026-07-07 · 9
PracticesBeta

1 development-tooling and community-health practice detected across 1 family in the upstream repository

Checks run against github.com/keefe-murphy/imifa on 2026-10-18.

Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
11 external dependencies (excludes base and recommended)

Installing IMIFA adds 11 packages (9 with compiled code, 22 MB of source tarballs). Heaviest: BH 14 MB, mclust 2.7 MB, Rcpp 1.8 MB.

Depends (1)
R >= 4.0.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
1direct
0indirect
Imports 1
Depends, Imports or LinkingTo, most downloaded first

Datasets

People & History

People (3)
Author, Maintainer since 1.1.0 (2017)
Contributor
Releases (18)

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
  • R
    R 4.4.0 released · 2024-04-24
  • 2.2.0Latest
    record
    2023-12-12 · current release · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 2.1.10
    record
    2022-12-20 · diff ↗
  • 2.1.9
    record
    2022-08-15 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 2.1.8
    record
    2021-12-19 · diff ↗
  • 2.1.7
    record
    2021-10-08 · diff ↗ ·
    added 2 exports
    exp_ltrgamma, rltrgamma
  • 2.1.6
    record
    2021-05-24 · diff ↗ ·
    added 1 export
    G_calibrate
  • R
    R 4.1.0 released · 2021-05-18
  • 2.1.5
    record
    2021-01-05 · diff ↗
  • 2.1.4
    record
    2020-11-19 · diff ↗
  • 2.1.3
    record
    2020-05-12 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
Show 13 earlier eventsHide 13 earlier events
  • 2.1.2
    record
    2020-03-30 · diff ↗
  • 2.1.1
    record
    2019-12-11 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 2.1.0
    record
    2019-02-04 · diff ↗ ·
    added 3 exports
    pareto_scale, scores_MAP, sim_IMIFA_model
  • 2.0.0
    record
    2018-05-01 · diff ↗ ·
    added 8 exports
    IMIFA_news, bnpControl, mgpControl, mixfaControl, post_conf_mat, show_IMIFA_digit, show_digit, storeControl
  • R
    R 3.5.0 released · 2018-04-23
  • 1.3.1
    record
    2017-07-07 · diff ↗
  • 1.3.0
    record
    2017-06-22 · diff ↗ ·
    added 4 exports
    Ledermann, Procrustes, is.cols, shift_GA
  • 1.2.1
    record
    2017-05-29 · diff ↗ ·
    added 2 exports
    is.posi_def, plot_cols
  • 1.2.0
    record
    2017-05-09 · diff ↗ ·
    removed 1 export
    G_prior
    added 6 exports
    G_priorDensity, PGMM_dfree, Zsimilarity, gumbel_max, heat_legend, rDirichlet
  • R
    R 3.4.0 released · 2017-04-21
  • 1.1.0
    record
    2017-02-05
  • R
    R 3.3.0 released · 2016-05-03

Package metadata

First published
2017-02-05
Total releases
18 / 9 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 4.0.0
Bundled data
1.7 MB / 3 files
Download size
2.5 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("IMIFA")

The package provides a citation file that builds its entry when R runs it. Run citation() to see it.

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 IMIFA version 2.2.0 [Data set]. HJJB, LLC. Data release v2026-10-21. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-21, 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