Learn R Programming

imputeR (version 2.2)

CubistR: Cubist method for imputation

Description

Quinlan's Cubist model for imputation

Usage

CubistR(x, y)

Arguments

x

predictor matrix

y

response vector

Value

a model object that can be used by the impute function and the optimal value for the "neighbors".

See Also

cubist

Examples

Run this code
# NOT RUN {
data(parkinson)
missdata <- SimIm(parkinson, 0.1)
# }
# NOT RUN {
impdata <- impute(missdata, lmFun = "CubistR")
# }

Run the code above in your browser using DataLab