energy_of_meal: Total energy value of the meal

Description Usage Arguments Examples

View source: R/energy.R

Description

Function for calculating the total energy value of a meal

Usage

1
energy_of_meal(list_of_products, weight_of_products)

Arguments

list_of_products

list, list of the names of the products added to the preparation of the meal

weight_of_products

list, list of weights of the products added to the preparation of the meal

Examples

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

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