[Experimental]

Similar to make_boot_datasets(), but sets up "out of bag" datasets for model evaluation.

make_xv_datasets(
  dboot,
  data_folder = file.path(nm_dir("derived_data"), "bootstrap_datasets"),
  overwrite = FALSE,
  id_var = "ID"
)

Arguments

dboot

Output from make_boot_datasets().

data_folder

Folder to store datasets.

overwrite

Logical. Overwrite previous files or not.

id_var

Character (default = "ID"). Name of ID column.

Value

A tibble of nm objects similar to make_boot_datasets() output.