| read_recipe | R Documentation |
Loads a recipe written by save_recipe(). Validates that the file
contains a masque_recipe or a masque_recipe_set bundle and informs
(does not error) if it was written by a different package version than
the one currently installed. Bundles are read from masque 0.16.0 on.
read_recipe(path)
path |
File path. |
A masque_recipe, or a masque_recipe_set bundle.
save_recipe(), recipe().
r <- propose_roles(iris)
r$role[r$col == "Sepal.Length"] <- "outcome"
m <- mask(iris, r, mode = "collaborate", seed = 1)
tmp <- tempfile(fileext = ".rds")
save_recipe(recipe(m), tmp)
rec2 <- read_recipe(tmp)
rec2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.