Learn R Programming

proximetricsR (version 0.6.5)

simple_kfold_sampling: Simple k-fold sampling

Description

For internal use only

Usage

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

Arguments

Value

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