check_training_frac: Check that the training fraction is between 0 and 1

View source: R/checks.R

check_training_fracR Documentation

Check that the training fraction is between 0 and 1

Description

Check that the training fraction is between 0 and 1

Usage

check_training_frac(frac)

Arguments

frac

fraction (numeric)

Author(s)

Kelly Sovacool, sovacool@umich.edu

Examples

## Not run: 
check_training_frac(0.8)

## End(Not run)

SchlossLab/mikropml documentation built on Aug. 24, 2023, 9:51 p.m.