library(shinyrecipes)
This package only contains the recipesGadget()
function from which you can launch a shiny gadget to carry out the preprocessing tasks implemented by {recipes} package. This function takes two arguments:
.df: A data frame, data table or tibble on which the preprocessing steps will be trained.
bake_list: A named list where each element is a data.frame, data.table or tibble on which the selected preprocessing steps can be applied. If this argument is null, then you can apply the recipe created on the same data used to train it, if desired.
The function returns a list containing two elements: the first is the trained recipe and the second contains all the data on which the recipe has been applied inside the shiny gadget.
data("airquality") data<-recipesGadget(.df = airquality)
This shiny gadget is made up of four tabs:
recipe: Create the recipe formula.
analysis: Visualize and understand your data.
roles/steps: Update roles and add preprocessing steps.
prep/bake: Train your recipe and apply it on new data.
You can see an article for each of these panels in the articles section.