powered by
Principle component regression method for imputation
pcrR(x, y)
predictor matrix
response vector
a model object that can be used by the impute function
impute
pcr
# NOT RUN { data(parkinson) missdata <- SimIm(parkinson, 0.1) # } # NOT RUN { impdata <- impute(missdata, lmFun = "pcrR") # }
Run the code above in your browser using DataLab