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