rsample (version 1.2.1)

labels.rsplit: Find Labels from rsplit Object

Description

Produce a tibble of identification variables so that single splits can be linked to a particular resample.

Usage

# S3 method for rsplit
labels(object, ...)

Value

A tibble.

Arguments

object

An rsplit object

...

Not currently used.

See Also

add_resample_id

Examples

Run this code
cv_splits <- vfold_cv(mtcars)
labels(cv_splits$splits[[1]])

Run the code above in your browser using DataLab