Skip to contents

Internal function to set the indices for resampling.

Usage

set_cv_idx(folds, repeats, n)

Arguments

folds

Integer number of foldls.

repeats

Interger number of repetitions.

n

Integer for number of observations.

Value

A list of training validation indices