
Check the validity of the training indices
check_training_indices(training_inds, dataset)
vector of integers corresponding to samples for the training set
data frame containing the entire dataset
Kelly Sovacool, sovacool@umich.edu
if (FALSE) {
training_indices <- otu_small %>%
nrow() %>%
sample(., size = 160)
check_training_indices(training_indices, otu_small)
}
Run the code above in your browser using DataLab