check_v: Check that "v" is sensible

View source: R/checks.R

check_vR Documentation

Check that "v" is sensible

Description

Check that "v" is sensible

Usage

check_v(v, max_v, objects, allow_max_v = TRUE, call = rlang::caller_env())

Arguments

v

The number of partitions for the resampling. Set to NULL or Inf for the maximum sensible value (for leave-one-X-out cross-validation).


spatialsample documentation built on Nov. 8, 2023, 1:08 a.m.