## Not run:
# library(crtests)
# library(randomForest)
# library(rpart)
# library(caret)
# library(stringr)
#
# # A classification multitest
# multitest(data = iris,
# dependent = "Species",
# problem = "classification",
# method = "randomForest",
# name = "An example classification multitest",
# iterations = 10,
# cross_validation = TRUE,
# preserve_distribution = TRUE
# )
#
# # A regression multitest
# multitest(data = iris,
# dependent = "Sepal.Width",
# problem = "regression",
# method = "rpart",
# name = "An example regression multitest",
# iterations = 15,
# cross_validation = FALSE,
# )
#
# ## End(Not run)
Run the code above in your browser using DataLab