labels.rsplit: Find Labels from rsplit Object

View source: R/labels.R

labels.rsplitR Documentation

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 class 'rsplit'
labels(object, ...)

Arguments

object

An rsplit object

...

Not currently used.

Value

A tibble.

See Also

add_resample_id

Examples

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

rsample documentation built on May 29, 2024, 11:03 a.m.