data(iris)
# A classification test
test <- createtest(data = iris,
dependent = "Species",
problem = "classification",
method = "randomForest",
name = "An example classification test",
train_index = sample(150, 100)
)
## Not run:
# # Run the test. The result is an object of class "evaluation"
# evaluation <- runtest(test)
# summary(results)
# ## End(Not run)
Run the code above in your browser using DataLab