Calculate mixed error when the imputed matrix is mixed type
Calculate mixed error when the imputed matrix is mixed type
mixError(imp, mis, true, norm = TRUE)
imp |
the imputed matrix |
mis |
the original matrix with missing values |
true |
the true matrix |
norm |
logical, if TRUE, the nomailised RMSE will return for continous variables |
a vector of two values indicating the mixed error the the imputation, the first one if either RMSE or NRMSE, the second one is MCE.
data(tic) Detect(tic) missdata <- SimIm(tic, 0.3) library(earth) impdata <- impute(tic, lmFun = "earth", cFun = "rpartC") mixError(impdata$imp, missdata, tic)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.