checkLinkedFoods {DIETCOST}R Documentation

Linked foods check

Description

Checks if lower bound linked foods serves are lower or equal to higher bound linked foods serves.

Usage

checkLinkedFoods(df, low, high)

Arguments

df

Random meal plan.

low

Vector of lower bound food IDs.

high

Vector of higher bound food IDs.

Value

Differences dataframe.


[Package DIETCOST version 1.0.0.0 Index]