Learn R Programming

clinPK (version 0.13.0)

pct_bmi_for_age: 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

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

Run the code above in your browser using DataLab