add_BMI | R Documentation |
calculation of BMIClass is Age and Sex specific
add_BMI(df, dM, reference_date)
df |
dataframe needs DOB, Sex HeightDate, HeightValue, WeightValue |
dM |
dMeasure object |
reference_date |
date to calculate age |
see PIP-QI-Technical-Specifications v1.1 (Australian Government) https://www1.health.gov.au/internet/main/publishing.nsf/ Content/46506AF50A4824B6CA25848600113FFF/$File/PIP-QI-Technical-Specifications.pdf
dataframe with added BMIValue, BMIDate, BMIClass
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.