rsample (version 0.0.5)

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, ...)

Arguments

object

An rsplit object

...

Not currently used.

Value

A tibble.

See Also

add_resample_id

Examples

Run this code
# NOT RUN {
cv_splits <- vfold_cv(mtcars)
labels(cv_splits$splits[[1]])
# }

Run the code above in your browser using DataCamp Workspace