plate | R Documentation |
Get the results from the recipe. If the recipe hasn't been prepped and baked, this will do those steps and return the result.
plate(.rec, type = "dt", ...)
.rec |
the R6 recipe object. |
type |
the return type for the recipe (dt = 'data.table', df = 'data.frame', tbl = 'tibble', list = 'list', m = 'matrix') |
... |
additional arguments |
an updated recipe
dat <- data.frame(x = rnorm(10), y = rnorm(10))
rec <- recipe(y~x, data = dat) |>
step_scale(x) |>
prep() |>
bake() |>
plate()
rec <- recipe(y~x, data = dat) |>
step_scale(x) |>
plate()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.