powered by
Ridge regression with lasso for imputation
ridgeC(x, y)
predictor matrix
response vector
a model object that can be used by the impute function
impute
logisticRidge
# NOT RUN { data(spect) missdata <- SimIm(spect, 0.1) # } # NOT RUN { impdata <- impute(spect, cFun = "ridgeC") # }
Run the code above in your browser using DataLab