Skip to content

missRanger

2.6.1

Fast Imputation of Missing Values

9packages depend
61.7Kdownloads / year
97.0%test coverage
13/13checks pass

Overview

About
Maintained by Michael MayerFirst published 2017-08-2516 releasesCRAN page ↗GitHub ↗

Alternative implementation of the beautiful 'MissForest' algorithm used to impute mixed-type data sets by chaining random forests, introduced by Stekhoven, D.J. and Buehlmann, P. (2012) doi:10.1093/bioinformatics/btr597. Under the hood, it uses the lightning fast random forest package 'ranger'. Between the iterative model fitting, we offer the option of using predictive mean matching. This firstly avoids imputation with values not already present in the original data (like a value 0.3334 in 0-1 coded variable). Secondly, predictive mean matching tries to raise the variance in the resulting conditional distributions to a realistic level. This would allow, e.g., to do multiple imputation when repeating the call to missRanger(). Out-of-sample application is supported as well.

Install

Health

CRAN checks
13OK
Slowest check: 1.7 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 1.20
97.0%
Coverage · measured lines
100%
Documentation · exports
4
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 210 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 67% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
14%

Downloads

61.7K
CRAN downloads in the past year
Rank #1,841 · ~169/day · ~5.1K/mo
Daily download trend is not available in this view yet.
3.5K30 days
12.3K90 days
61.7K1 year
Compare downloads with other packages →
Also on3.8K r2u8 autocran187 conda_forge34 c2d4u

Repository

Repository
72Stars
10Forks
2Open issues
0Open PRs
9Releases
257Commits
9Contributors
rimputationrandom-forestrstatsmachine-learningmissing-values
License GPL-2.0 · 257 commits · Last activity 2025-04-06 · 0% stars, 30d

Stars over time

2025-05-02 · 702026-07-07 · 72

Repository practices

Upstream repositoryBeta

5 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/mayer79/missranger on 2026-08-16.

Continuous integration (1)
GitHub Actions
CRAN release process (3)
cran-comments.mdrevdep/CRAN-SUBMISSION
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.5.0
Imports (4)
FNNrangerstatsutils
LinkingTo (0)
none
Enhances (0)
none

Code & Tests

People & History

People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Package Timeline

16 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 2.6.1Latest
    2024-12-07 · current release · diff ↗
  • 2.6.0
    2024-08-17 · diff ↗
  • 2.5.0
    2024-07-12 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 2.4.0
    2023-11-19 · diff ↗
  • 2.3.0
    2023-10-20 · diff ↗
  • 2.2.1
    2023-04-28 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 2.2.0
    2023-03-24 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 2.1.3
    2021-03-30 · diff ↗
  • 2.1.1
    2021-03-20 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
Show 10 earlier events
  • 2.1.0
    2019-06-30 · diff ↗
  • 1.0.5
    2019-06-09 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 1.0.4
    2019-01-08 · diff ↗
  • 1.0.3
    2018-05-15 · diff ↗
  • 1.0.2
    2018-04-23 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 1.0.1
    2018-03-22 · diff ↗
  • 1.0.0
    2017-08-25
  • R
    R 3.4.0 released · 2017-04-21

Package metadata

First published
2017-08-25
Total releases
16 / 9 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 3.5.0
Download size
69 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("missRanger")
Mayer, M. (2024). missRanger: Fast Imputation of Missing Values (Version 2.6.1) [Computer software]. https://doi.org/10.32614/CRAN.package.missRanger

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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 missRanger version 2.6.1 [Data set]. HJJB, LLC. Data release v2026-08-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-18, 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