multimput package was originally intended to provide the data and code to replicate the results of Onkelinx, Devos, and Quataert (2016). This paper is freely available at http://dx.doi.org/10.1007/s10336-016-1404-9. The functions were all rewritten to make them more user-friendly and more generic. In order to make the package more compact, we removed the original code and data starting for version 0.2.6. However both the original code and data remain available in the older releases.
All helpfiles and vignettes are available at https://inbo.github.io/drat/docs/multimput/index.html
This package requires the
INLA package. You need to install it with
install.packages("INLA", repos = "https://inla.r-inla-download.org/R/stable"). If this fails you can use
devtools::install_github("inbo/INLA"). Note that the latter is just a read-only mirror which is infrequently updated. Hence installing
INLA from https://inla.r-inla-download.org is highly recommended.
INLA is installed, you can install
multimput. For Windows, we recommend to use our
drat repository. First install the
drat package (
install.packages("drat")), then add our
drat repository to your session (
drat:addRepo("inbo")). Finally you can install
install.packages("drat")). For Linux or Mac OS, you can either follow the Windows instructions or install the development version with
devtools. First install
install.packages("devtools")). Then install
devtools::install_github("inbo/multimput", build_vignettes = TRUE)). To view the vignette use
vignette("Impute", package = "multimput"). The vignette is also available at https://inbo.github.io/drat/docs/multimput/articles/Impute.html
A docker image with all the required dependencies is available from https://hub.docker.com/r/inbobmk/multimput/. Use
docker pull inbobmk/multimput to get it.
The folder structure is that of a typical R packages with the mandatory
R folder (definition of the functions) and
man (helpfiles in Rd format).
data is an optional folder in which some data sets are stored. The optional
test folder contains the unit tests using the infrastructure from the
testthat package. The optional
vignette folder contains examples of the available themes.
roxygen2 templates for the documentation.
multimput |-- data |-- man |-- man-roxygen |-- R |-- tests |-- testthat |-- vignettes