macronutrients_of_meal: Amount of macronutrients in the prepared meal

Description Usage Arguments Examples

View source: R/macro.R

Description

Function for calculating amount of macronutrients in prepared meal

Usage

1
macronutrients_of_meal(list_of_products, weight_of_products)

Arguments

list_of_products

list, list of the names of the products used to prepare the meal

weight_of_products

list, list of weights of the products used to prepare the meal

Examples

1
2
3
list_of_products <- list("Kawior", "Kawior")
weight_of_products <- list(50, 100)
macronutrients_of_meal(list_of_products, weight_of_products)

FUTUR-TEAM/Future documentation built on Dec. 17, 2021, 8:22 p.m.