checkInputDataCV: Check Input Data for cv.srlars Function (Internal)

View source: R/checkInputDataCV.R

checkInputDataCVR Documentation

Check Input Data for cv.srlars Function (Internal)

Description

Internal helper function to validate the arguments specific to cv.srlars (share_grid and outer_folds), on top of the shared srlars argument checks performed by checkInputData.

Usage

checkInputDataCV(share_grid, n_models, outer_folds)

Arguments

share_grid

Integer vector of candidate max_share values.

n_models

Number of models in the ensemble.

outer_folds

Number of outer cross-validation folds.

Value

NULL. Stops execution with an error message if invalid inputs are detected.


srlars documentation built on Sept. 23, 2026, 5:10 p.m.