simple_kfold_sampling: Simple k-fold sampling

View source: R/sample_kfold.R

simple_kfold_samplingR Documentation

Simple k-fold sampling

Description

For internal use only

Usage

simple_kfold_sampling(
  N,
  number,
  sampling = c("random", "sequential"),
  seed = NULL
)

Value

A list with two matrices (hold_in and hold_out) giving the indices of the observations in each column for each fold.


proximetricsR documentation built on Sept. 4, 2026, 5:08 p.m.