pct_bmi_for_age: Percentile BMI for age for children

View source: R/pct_bmi_for_age.R

pct_bmi_for_ageR Documentation

Percentile BMI for age for children

Description

Based on tables from WHO: http://www.who.int/growthref/who2007_bmi_for_age/en/

Usage

pct_bmi_for_age(
  age = NULL,
  bmi = NULL,
  sex = NULL,
  height = NULL,
  return_median = FALSE,
  ...
)

Arguments

age

age in years

bmi

bmi Optional, if specified, will calculate closest percentile and return in list as 'percentile'

sex

either 'male' or 'female'

height

height

return_median

just return the median expected value

...

parameters passed to 'read_who_table()'

Examples

pct_bmi_for_age(age = 8, sex = "male")
pct_bmi_for_age(age = 8, bmi = 15, sex = "male")

clinPK documentation built on May 29, 2024, 3:50 a.m.