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]])

tidymodels/rsample documentation built on Sept. 29, 2024, 10:48 p.m.