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
# runtest(test)
# ## End(Not run)
Run the code above in your browser using DataLab