Learn R Programming

rsample (version 1.2.1)

reshuffle_rset: "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)

Value

An rset of the same class as rset.

Arguments

rset

The rset object to be reshuffled

Examples

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

Run the code above in your browser using DataLab