Skip to contents

make_cvdn_ls() is a Make function that creates a new R object. Specifically, this function implements an algorithm to make cross-validation list. The function returns Cross-validation (a list).

Usage

make_cvdn_ls(
  ds_tb,
  folds_int,
  nbr_cores_1L_int = 1L,
  nbr_clss_1L_int = 15L,
  var_nms_chr
)

Arguments

ds_tb

Dataset (a tibble)

folds_int

Folds (an integer vector)

nbr_cores_1L_int

Number cores (an integer vector of length one), Default: 1

nbr_clss_1L_int

Number classes (an integer vector of length one), Default: 15

var_nms_chr

Variable names (a character vector)

Value

Cross-validation (a list)