View source: R/fillImputations.R
fillImputations | R Documentation |
Fill imputed values in a imputed GADSdat_imp
object with original, not imputed values from a GADSdat
.
fillImputations(GADSdat, GADSdat_imp, varName, varName_imp = varName, id, imp)
GADSdat |
A |
GADSdat_imp |
A |
varName |
A character vector of length 1 containing the variable name in |
varName_imp |
A character vector of length 1 containing the variable name in |
id |
A character vector of length 1 containing the unique identifier column of both |
imp |
A character vector of length 1 containing the imputation number in |
This function only fills in missing values in the imputed variable from the not imputed variable. It provides parts
of the functionality of subImputations
but does not check whether values have been mistakenly imputed. However,
performance is increased substantially.
The modified GADSdat_imp
..
# tbd
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.