wwp: Calculate Weight Watchers Points (original)

Description Usage Arguments

Description

Calculate Weight Watchers Points (original) from a food_id, the result of get_wwp_data, or a set of inputs. See: http://calorielab.com/news/2015/10/08/weight-watchers-pointsplus-formula/

Usage

1
2
wwp(food_id = NULL, wwp_data = NULL, calories = NULL, fat = NULL,
  fiber = NULL)

Arguments

food_id

character(1) A food ID from the database

wwp_data

numeric A vector of numbers with required data from get_wwp_data

calories

numeric(1) calories in food (KCal)

fat

numeric(1) grams of fat

fiber

numeric(1) grams of fiber


Prometheus77/foodpoints documentation built on May 11, 2019, 6:25 p.m.