Skip to content

Missing Data Imputation and Model Checking

4packages depend
322.1Kdownloads / year
5.7%test coverage
13/13flavors OK

Overview

About

The mi package provides functions for data manipulation, imputing missing values in an approximate Bayesian framework, diagnostics of the models used to generate the imputations, confidence-building mechanisms to validate some of the assumptions of the imputation algorithm, and functions to analyze multiply imputed data sets with the appropriate degree of sampling uncertainty.

Install

Health

CRAN checks
13OK
Slowest check: 5.8 min · r-release-macos-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-07-14
  • ERROR12 OK, 1 ERROR2026-07-13
  • OK13 OK2026-07-07
Show 6 earlier changesHide 6 earlier changes
  • ERROR12 OK, 1 ERROR2026-07-04
  • OK14 OK2026-04-15
  • ERROR13 OK, 1 ERROR2026-04-11
  • OK14 OK2026-04-08
  • ERROR13 OK, 1 ERROR2026-04-04
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.3.1
READMENoVignettesYes · 1 · dynamicNEWSNoCitation fileYes · cites a publicationWebsiteYes
Help pages
29 (1 internal)includes a package overview page
Examples that run
96%25 run in a plain check · 1 hold no code
Exported functions with examples
86%
Documented parameters
97%
Return-value docs
86%
Help pages citing references
3%

Downloads

322.1K
CRAN downloads in the past year
Rank #794 · ~882/day · ~26.8K/mo
Daily download trend is not available in this view yet.
21.1K30 days
58.1K90 days
322.1K1 year
Compare downloads with other packages →
Also on1.7K r2u4 autocran3.2K conda_forge491 c2d4u

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)

Installing mi adds 11 packages (6 with compiled code, 11 MB of source tarballs). Heaviest: lme4 4.1 MB, nloptr 2.1 MB, Rcpp 1.8 MB.

Depends (4)
R >= 3.0.0methodsMatrixstats4
Imports (1)
LinkingTo (0)
none
Suggests (10)
betareglatticeknitrMASSnnetparallelsnsurvivaltruncnormforeign
Enhances (0)
none
Reverse dependencies
4direct
25indirect
Imports 4
Depends, Imports or LinkingTo, most downloaded first

Datasets

People & History

People (8)
Maintainer since 1.0 (2015), Author · added in 1.0
Author · added in 1.0
Contributor
Contributor
Contributor · added in 1.0
Contributor · added in 1.0
Contributor

Previously maintained by Yu-Sung Su (0.02-01 to 0.10-2).

Listed in earlier versions (1)
no longer listed · 0.02-03 to 0.10-2
Releases (61)

Pick two releases to compare their code metrics.

  • 1.3.1Latest
    record
    2026-07-28 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 1.2
    record
    2025-09-02 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 1.1
    record
    2022-06-06 · 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
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • 1.0
    record
    2015-04-16 · diff ↗ ·
    removed 56 exports
    bayesglm.mi, bayespolr.mi, bugs.mi, call.mi, conv.plot, converged, convergence.plot, data.mi, glm.mi, glmer.mi, imp, imputed, info.mi, is.mi, is.mi.info, lm.mi, lmer.mi, m, mi, marginal.scatterplot, mi.categorical, mi.completed, mi.continuous, mi.copy, mi.count, mi.data.frame, mi.binary, mi.fixed, mi.hist, mi.info and 26 more
    added 10 exports
    display, mi2BUGS, mi2stata, mipply, multinomial, pool, .prune, .possible_missing_variable, Rhats, rdata.frame
  • R
    R 3.2.0 released · 2015-04-16
Show 68 earlier eventsHide 68 earlier events

Package metadata

First published
2008-10-07
Total releases
61 / 18 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 3.0.0
Bundled data
11 KB / 2 files
Download size
790 KB
Appears in task views

Cite

Cite this package

Run in R for the authors' entry:

citation("mi")

The package provides a citation file, so citation() returns the authors' own entry.

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 mi version 1.3.1 [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