macro_pie_chart: Interactive pie chart of percent of macronutrients in the...

Description Usage Arguments Examples

View source: R/interactive_pie_chart.R

Description

Function for creating interactive pie chart of percent of macronutrients in prepared meal

Usage

1
macro_pie_chart(macro_percent)

Arguments

macro_percent

data frame, data frame of amount of macronutrients used to prepare the meal

Examples

1
2
3
4
list_of_products <- list("Banan", "Truskawki")
weight_of_products <- list(100, 100)
macro_percent <- macronutrients_of_meal(list_of_products, weight_of_products)
macro_pie_chart(macro_percent)

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