add_BMI: add BMI and BMIclass to datatable

add_BMIR Documentation

add BMI and BMIclass to datatable

Description

calculation of BMIClass is Age and Sex specific

Usage

add_BMI(df, dM, reference_date)

Arguments

df

dataframe needs DOB, Sex HeightDate, HeightValue, WeightValue

dM

dMeasure object

reference_date

date to calculate age

Details

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

Value

dataframe with added BMIValue, BMIDate, BMIClass


DavidPatShuiFong/dMeasureQIM documentation built on Feb. 17, 2025, 3:08 p.m.