check_training_indices | R Documentation |
Check the validity of the training indices
check_training_indices(training_inds, dataset)
training_inds |
vector of integers corresponding to samples for the training set |
dataset |
data frame containing the entire dataset |
Kelly Sovacool, sovacool@umich.edu
## Not run:
training_indices <- otu_small %>%
nrow() %>%
sample(., size = 160)
check_training_indices(training_indices, otu_small)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.