checks_optional_food_groups {DIETCOST} | R Documentation |
Optional food groups check
Description
If discretionary foods, alcohol or takeaway are permitted, looks for a minimum value and sets zero if missing,
Usage
checks_optional_food_groups(check, value)
Arguments
check |
Boolean variable to permit optional food group. |
value |
Minimum percentage of energy intake from optional food group. |
Value
Minimum percentage of energy intake from optional food group.
[Package DIETCOST version 1.0.0.0 Index]