Description Usage Arguments Value See Also Examples
This function is a wrapper of the functions mice and complete
from the package mice. Also to the impute from the
package Hmisc. The function is designed to use those functions
to impute missing values on exposures (not in phenotypes).
1 | imputation(object, select, ..., messages = FALSE)
|
object |
|
select |
Exposures to be imputed. If missing, all exposes will be imputed. |
... |
Argument given to function |
messages |
(default |
A new ExposomeSet with the imputed exposures.
plotMissings to plot the missing data of an ExposomeSet, tableMissings to get a table with the missing data of an ExposomeSet
1 2 3 4 5 | ## Not run:
#Being x an ExposomeSet
x <- imputation(x)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.