View source: R/create_meal_plan.R
create_meal_plan | R Documentation |
create_meal_plan()
expects a RecipeBook-class
object as input. The
available options for customizing the meal plan include; the days of the week
and the meals ("Lunch" or "Dinner") to plan for, the method to use and
whether to only use favourite recipes.
create_meal_plan( recipebook, which_days = weekdays(), which_meals = c("Lunch", "Dinner"), method = c("auto", "random"), fav_only = FALSE, set_last_eaten = TRUE )
recipebook |
a |
which_days |
|
which_meals |
|
method |
|
fav_only |
|
set_last_eaten |
|
a RecipeBook-class
object containing the created meal_plan
.
recipebook <- create_meal_plan(recipebook_example) meal_plan(recipebook)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.