fiberGrams | R Documentation |
Sometimes, nutritional labels fail to inform the amount of fiber it contains. This function helps one estimate this given other parameters.
fiberGrams(kcal, fat, carbs, protein)
kcal |
total energy per unit of measurement (e.g. 100 g) |
fat |
grams of fat per unit of measurement (e.g. 100 g) |
carbs |
grams of carbohydrate per unit of measurement (e.g. 100 g) |
protein |
grams of protein per unit of measurement (e.g. 100 g) |
Grams of fiber per unit of measurement
Waldir Leoncio
fiberGrams(362, 17, 11, 40)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.