Learn R Programming

SuperLearner (version 2.0-24)

predict.SL.bartMachine: bartMachine prediction

Description

bartMachine prediction

Usage

# S3 method for SL.bartMachine
predict(object, newdata, family, X = NULL,
  Y = NULL, ...)

Arguments

object

SuperLearner object

newdata

Dataframe to predict the outcome

family

"gaussian" for regression, "binomial" for binary classification. (Not used)

X

Covariate dataframe (not used)

Y

Outcome variable (not used)

...

Additional arguments (not used)