The function calculates nutrient value based on a list of ingredients and their weight in grams.
is a vector of one or more ingredients
is a vector of the corresponding weight in grams of each ingredient
a data frame containing the nutrients of each ingredient along with a total score.
1 2 3 4 5 6 7 8 9
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.