Cleaning height and weight observations

Functions for cleaning growth data

cleangrowth()

Clean growth measurements

ewma()

Exponentially Weighted Moving Average (EWMA)

read_anthro()

Function to calculate z-scores and csd-scores based on anthro tables.

sd_median()

Calculate median SD score by age for each parameter.

Pediatric carried forward adjustment

Temporary functions for testing pending enhancements; will be integrated

acf_answers()

Answers for adjustcarryforward

adjustcarryforward()

adjustcarryforward adjustcarryforward Uses absolute height velocity to identify values excluded as carried forward values for reinclusion.

testacf()

Function to test adjust carried forward

Extended measures for pediatric BMI

Compute Z-scores and percentiles for pediatric subjects, based on CDC SAS program at https://www.cdc.gov/nccdphp/dnpao/growthcharts/resources/sas.htm

ext_bmiz()

Calculate extended BMI measures

Utilities

Support functions for common data cleaning workflows

longwide()

Transform data in growthcleanr format into wide structure for BMI calculation

recode_sex()

Recode binary sex variable for compatibility

simple_bmi()

Compute BMI using standard formula

splitinput()

Split input data into multiple files

Datasets

Reference data and additional sources

bmianthro

BMI Anthro

CDCref_d

CDC BMI reference data

growth_cdc_ext

CDC Growth Percentile Table

lenanthro

Length to Age Table

nhanes-reference-medians

NHANES reference medians

syngrowth

syngrowth

tanner_ht_vel

Tanner Growth Velocity Table

tanner_ht_vel_with_2sd

Tanner Growth Velocity Table with (2\(\sigma\))

test_syngrowth_sas_output_compare

CDC SAS BMI Output

test_syngrowth_wide

CDC SAS BMI Input

weianthro

Weight Anthro Table

who_ht_maxvel

WHO Maximum Height Velocity for (3\(\sigma\))

who_ht_maxvel_2sd

WHO Maximum Height Velocity for (2\(\sigma\))

who_ht_vel_2sd

WHO Height Velocity for (2\(\sigma\))

who_ht_vel_3sd

WHO Height Velocity for (3\(\sigma\))

fentlms_foraga

Fenton Growth Curves

fentlms_forz

Fenton Growth Curve Z-Scores

growth_cdc_ext_infants

CDC Growth Percentile Table for Infants

growth_who_ext

WHO Growth Percentile Table

rc-reference-medians

Infants reference medians

tanner_ht_vel_rev

Tanner Growth Velocity Table for Infants

who_hc_maxvel

WHO Maximum Head Circumference Velocity for (3\(\sigma\))

who_hc_vel_3sd

WHO Head Circumference Velocity for (3\(\sigma\))