energy_value_of_the_product_per_100: Energy value of the product per 100 grams

Description Usage Arguments Examples

View source: R/energy.R

Description

Function for calculating the energy value of a product per 100 grams

Usage

1
energy_value_of_the_product_per_100(protein, fat, carbohydrates, fiber = 0)

Arguments

protein

numeric, protein content in the product for which we calculate the energy value expressed in grams

fat

numeric, fat content in the product for which we calculate the energy value expressed in grams

carbohydrates

numeric, carbohydrates content in the product for which we calculate the energy value expressed in grams

fiber

numeric, fiber content in the product for which we calculate the energy value expressed in grams, 0 by default

Examples

1
2

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