random_forest: random_forest
Perform a classification or regression random forest model
Description
a wrapper built around the randomForest function from package randomForest.
Returns a list with a randomForest object list, training data set, testing data set,
metabolite metadata, and confusion matrices for training and testing data
(if type was classification).
a numeric vector of length 2, first element is the percent of
samples to use for training the model, second element is the percent of samples used to
test the models accuracy