imputeR (version 2.2)

plsR: Partial Least Square regression for imputation

Description

Principle component regression method for imputation

Usage

plsR(x, y)

Arguments

x

predictor matrix

y

response vector

Value

a model object that can be used by the impute function

See Also

plsr

Examples

Run this code
# 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