Function to retrieve the data split stored in the data_split slot within a SIAMCAT object

data_split(siamcat, verbose=1)

# S4 method for siamcat
data_split(siamcat, verbose = 1)

Arguments

siamcat

(Required). An instance of siamcat-class containing a data split

verbose

integer, if the slot is empty, should a message be printed? values can be either 0 (no output) or 1 (print message)

Value

A list containing the data split information or NULL

Details

The function returns a list containing information about the data split. See create.data.split for more details.

Examples

data(siamcat_example)
temp <- data_split(siamcat_example)
names(temp)
#> [1] "training.folds" "test.folds"     "num.resample"   "num.folds"