Description Usage Arguments Value Examples
this is a plot function for assessing imputation performance given the imputed data and the original true data
1 |
imp |
the imputed data matrix |
mis |
the missing data matrix |
true, |
the true data matrix |
... |
other arguments that can be passed to plot |
a plot object that show the imputation performance
1 2 3 4 5 6 7 8 9 10 11 12 | data(parkinson)
# introduce 10% random missing values into the parkinson data
missdata <- SimIm(parkinson, 0.1)
# impute the missing values by LASSO
impdata <- impute(missdata, lmFun = "lassoR")
# calculate the normalised RMSE for the imputation
Rmse(impdata$imp, missdata, parkinson, norm = T)
# Plot imputation performance
plotIm(impdata$imp, missdata, parkinson)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.