check_training_frac: Check that the training fraction is greater than 0 and less...

View source: R/checks.R

check_training_fracR Documentation

Check that the training fraction is greater than 0 and less than or equal to 1

Description

Check that the training fraction is greater than 0 and less than or equal to 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)

mikropml documentation built on Dec. 1, 2025, 9:08 a.m.