Learn R Programming

imputeR (version 2.2)

gbmC: boosting tree for imputation

Description

boosting tree for imputation

Usage

gbmC(x, y)

Arguments

x

predictor matrix

y

response vector

Value

a model object that can be used by the impute function and the best.iter for gbm model.

See Also

gbm

Examples

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

Run the code above in your browser using DataLab