Fast Imputations Using 'Rcpp' and 'Armadillo'

Fast imputations under the object-oriented programming paradigm. There was used quantitative models with a closed-form solution. Thus package is based on linear algebra operations. The biggest improvement in time performance could be achieve for a calculation where a grouping variable have to be used. A single evaluation of a quantitative model for the multiple imputations is another major enhancement. Moreover there are offered a few functions built to work with popular R packages such as 'data.table'.



  • data.table problem - jump to R 3.5.0
  • valgrind - a lot of optimizations - problem with arma::exp and arma::randn
  • optimize a lot of code
  • methods/functions resistant to glitches


  • fix imputations with a grouping variable - error if there is precisly one NA at any group
  • add data.table to benchmarks - model with a grouping variable
  • add R functions (fill_NA_N,fill_NA,VIF) which could be used by a data.table user


  • add impute_N method - optimized multiple imputations
  • add vif method - Variance inflation factors


  • vignette,readme,description,todo


  • adjust to solaris
  • reference - set a grouping variable by a reference but as a numeric vector - integer vector do not work (randomly lost pointer)

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.2.3 by Maciej Nasinski, 9 months ago

Report a bug at

Browse source code at

Authors: Maciej Nasinski [aut, cre]

Documentation:   PDF Manual  

Task views: Missing Data

GPL (>= 2) license

Imports methods, Rcpp

Suggests data.table, knitr, rmarkdown, pacman, testthat, mice, dplyr, broom, car, magrittr

Linking to Rcpp, RcppArmadillo

System requirements: C++11

See at CRAN