# NOT RUN {
library(randomForest)
library(dplyr)
x <- rf_model('iris', 'Petal.Length', model.var = 'model_rf')
exe(x)
print(model_rf)
x <- rf_prediction('iris', 'Petal.Length', 'model_rf', 'my_prediction')
exe(x)
print(my_prediction)
# }
Run the code above in your browser using DataCamp Workspace