get_rsplit | R Documentation |
Retrieve individual rsplits objects from an rset
get_rsplit(x, index, ...)
## S3 method for class 'rset'
get_rsplit(x, index, ...)
## Default S3 method:
get_rsplit(x, index, ...)
x |
The |
index |
An integer indicating which rsplit to retrieve: |
... |
Not currently used. |
The rsplit object in row index
of rset
set.seed(123)
(starting_splits <- group_vfold_cv(mtcars, cyl, v = 3))
get_rsplit(starting_splits, 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.