reshuffle_rset: "Reshuffle" an rset to re-generate a new rset with the same...

View source: R/reshuffle_rset.R

reshuffle_rsetR Documentation

"Reshuffle" an rset to re-generate a new rset with the same parameters

Description

This function re-generates an rset object, using the same arguments used to generate the original.

Usage

reshuffle_rset(rset)

Arguments

rset

The rset object to be reshuffled

Value

An rset of the same class as rset.

Examples

set.seed(123)
(starting_splits <- group_vfold_cv(mtcars, cyl, v = 3))
reshuffle_rset(starting_splits)


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