Learn R Programming

mikropml (version 1.6.1)

check_kfold: Check that kfold is an integer of reasonable size

Description

Check that kfold is an integer of reasonable size

Usage

check_kfold(kfold, dataset)

Arguments

kfold

Fold number for k-fold cross-validation (default: 5).

dataset

Data frame with an outcome variable and other columns as features.

Author

Kelly Sovacool, sovacool@umich.edu

Examples

Run this code
if (FALSE) {
check_kfold(5, otu_small)
}

Run the code above in your browser using DataLab