R/labels.R
labels.rsplit.Rd
Produce a tibble of identification variables so that single splits can be linked to a particular resample.
# S3 method for class 'rsplit' labels(object, ...)
An rsplit object
rsplit
Not currently used.
A tibble.
add_resample_id
cv_splits <- vfold_cv(mtcars) labels(cv_splits$splits[[1]]) #> # A tibble: 1 × 1 #> id #> <chr> #> 1 Fold01