tidy.workflow | R Documentation |
This is a generics::tidy()
method for a workflow that calls tidy()
on
either the underlying parsnip model or the recipe, depending on the value
of what
.
x
must be a fitted workflow, resulting in fitted parsnip model or prepped
recipe that you want to tidy.
## S3 method for class 'workflow'
tidy(x, what = "model", ...)
x |
A workflow |
what |
A single string. Either |
... |
Arguments passed on to methods |
To tidy the unprepped recipe, use extract_preprocessor()
and tidy()
that directly.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.