For a data set, add_resample_id() will add at least one new column that identifies which resample that the data came from. In most cases, a single column is added but for some resampling methods, two or more are added.
add_resample_id(.data, split, dots =FALSE)
Arguments
.data: A data frame
split: A single rset object.
dots: A single logical: should the id columns be prefixed with a "." to avoid name conflicts with .data?