Skip to content

missRanger

Fast Imputation of Missing Values

v2.6.1 · Dec 7, 2024 · GPL (>= 2)

Description

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.

Downloads

CRAN

4.4K

Last 30 days

1839th

15K

Last 90 days

59.8K

Last year

Trend: -23.2% (30d vs prior 30d)

r2u CRAN

30

Last 30 days

561

Last 90 days

4K

Last year

Trend: -83% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

examples

Running massageExamples to create ‘missRanger-Ex.R’ failed
Error in file(out, "wt") : cannot open the connection
Calls: <Anonymous> -> Rd2ex -> file
In addition: Warning message:
In file(out, "wt") :
  cannot open file '/tmp/Rtmpeztp4M/file39152a2331da6b/summary.missRanger.R': No space left on device
Execution halted
 NONE
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (8)

depends

Dependency Network

Dependencies Reverse dependencies FNN ranger imp4p hdImpute mlim outForest marginaleffects rtemis smriti worcs missRanger

Version History

17 tracked
new 2.6.1 Mar 10, 2026
updated 2.6.1 ← 2.6.0 diff Dec 6, 2024
updated 2.6.0 ← 2.5.0 diff Aug 16, 2024
updated 2.5.0 ← 2.4.0 diff Jul 11, 2024
updated 2.4.0 ← 2.3.0 diff Nov 18, 2023
updated 2.3.0 ← 2.2.1 diff Oct 19, 2023
updated 2.2.1 ← 2.2.0 diff Apr 27, 2023
updated 2.2.0 ← 2.1.3 diff Mar 23, 2023
updated 2.1.3 ← 2.1.1 diff Mar 29, 2021
updated 2.1.1 ← 2.1.0 diff Mar 19, 2021
updated 2.1.0 ← 1.0.5 diff Jun 29, 2019
updated 1.0.5 ← 1.0.4 diff Jun 8, 2019
updated 1.0.4 ← 1.0.3 diff Jan 7, 2019
updated 1.0.3 ← 1.0.2 diff May 14, 2018
updated 1.0.2 ← 1.0.1 diff Apr 22, 2018