Learn R Programming

imputeR (version 2.2)

stepBackC: Best subset for classification (backward)

Description

Best subset variable selection from both forward and backward direction for categorical data

Usage

stepBackC(x, y)

Arguments

x

predictor matrix

y

response vector

Value

a model object that can be used by the impute function

See Also

step, stepBackR

Examples

Run this code
# NOT RUN {
data(spect)
missdata <- SimIm(spect, 0.1)
# }
# NOT RUN {
impdata <- impute(spect, cFun = "stepBackC")
# }

Run the code above in your browser using DataLab