powered by
Calculates the percentage of energy from each macronutrient.
macroDistro(fat, carbs, protein, fiber = 0)
vector with the energy ratio from each macronutrient
grams of fat per unit of measurement (e.g. 100 g)
grams of carbohydrates per unit of measurement (e.g. 100 g)
grams of protein per unit of measurement (e.g. 100 g)
grams of fiber per unit of measurement (e.g. 100 g)
Waldir Leoncio
macroDistro(12, 40, 32, 1) macroDistro(12, 40, 32)
Run the code above in your browser using DataLab