labels.rset | R Documentation |
Produce a vector of resampling labels (e.g. "Fold1") from
an rset
object. Currently, nested_cv()
is not supported.
## S3 method for class 'rset'
labels(object, make_factor = FALSE, ...)
## S3 method for class 'vfold_cv'
labels(object, make_factor = FALSE, ...)
object |
An |
make_factor |
A logical for whether the results should be a character or a factor. |
... |
Not currently used. |
A single character or factor vector.
labels(vfold_cv(mtcars))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.