Skip to contents

Specific Gravity Conversion

Functions related to specific gravity conversion

SGConverter()
Specific Gravity converter function
sg_cord_drink_converter()
Specific gravity drink converter for cordial drinks
sg_drink_converter()
Specific gravity drink dispatcher
sg_food_converter()
Specific gravity food dispatcher
sg_liquidfood_converter()
Specific gravity liquid converter
sg_powd_drink_converter()
Specific gravity drink converter for powdered drinks
sg_ready_drink_converter()
Specific gravity drink converter for ready to consume drinks
generic_specific_gravity()
Generic specific gravity converter

Nutrient Profile Model Scoring

Functions related to Nutrient Profile Model scoring for specific nutrients

NPMScore()
NPM scoring dispatcher
NPM_score_function()
The NPM scoring dispatch function
scoring_function()
a template scoring function
fruit_veg_nut_scorer()
Fruit, Vegetable and nut scorer
energy_value_adjuster()
Function for adjusting energy information for A score calculation
generic_adjuster()
Function for generically adjusting nutritional measurement by total weight
salt_adjuster()
Function for adjusting the salt input value

Nutrient Profile Model Assessment

Functions relating to Nutrient Profile Model assessment

NPMAssess()
NPMAssess function
NPM_assess()
NPM Assess function
NPM_total()
NPM_total
A_scorer()
A score function
C_scorer()
C score function

Preprocessing

Functions related to processing and preparation of datasets

inputDataCheck()
Data check function
parameterRename()
Parameter rename function
listMissingParameters()
List the missing parameters function
fillMissingParameters()
Fill the missing parameters function
ReqParamCheck()
Required parameter checking function
SaveReport()
Save report function
AutoDefaultParamCheck()
Required parameter with automatic defaults checking function
AutoDefaultParamNote()
Required parameter with automatic defaults recording function
ManualParamUpdate()
Manual parameter update function
CheckValues()
Check parameter values function

Miscellaneous

Miscellaneous items included in this package

cdrcdrinks
Example dataset called CDRC Drinks
SGtab
specific gravity conversion named vector