ridgeC: Ridge regression with lasso for imputation

Description Usage Arguments Value See Also Examples

View source: R/methods.R

Description

Ridge regression with lasso for imputation

Usage

1
ridgeC(x, y)

Arguments

x

predictor matrix

y

response vector

Value

a model object that can be used by the impute function

See Also

logisticRidge

Examples

1
2
3
4
data(spect)
missdata <- SimIm(spect, 0.1)

impdata <- impute(spect, cFun = "ridgeC")

imputeR documentation built on Jan. 21, 2020, 1:06 a.m.