check_training_indices {mikropml}R Documentation

Check the validity of the training indices

Description

Check the validity of the training indices

Usage

check_training_indices(training_inds, dataset)

Arguments

training_inds

vector of integers corresponding to samples for the training set

dataset

data frame containing the entire dataset

Author(s)

Kelly Sovacool, sovacool@umich.edu

Examples

## Not run: 
training_indices <- otu_small %>%
  nrow() %>%
  sample(., size = 160)
check_training_indices(training_indices, otu_small)

## End(Not run)

[Package mikropml version 1.6.1 Index]