Skip to contents

Based on tables from WHO: http://www.who.int/childgrowth/standards/weight_for_age/en/

Usage

pct_weight_for_age(
  age = NULL,
  weight = NULL,
  sex = NULL,
  return_median = FALSE,
  ...
)

Arguments

age

age in years

weight

weight in kg. Optional, if specified, will calculate closest percentile and return in list as `percentile`

sex

either `male` or `female`

return_median

just return the median expected value

...

parameters passed to `read_who_table()`

Examples

pct_weight_for_age(age = 5, sex = "female")
#> $P01
#> [1] 11.912
#> 
#> $P1
#> [1] 13.154
#> 
#> $P3
#> [1] 13.96
#> 
#> $P5
#> [1] 14.415
#> 
#> $P10
#> [1] 15.154
#> 
#> $P15
#> [1] 15.682
#> 
#> $P25
#> [1] 16.508
#> 
#> $P50
#> [1] 18.212
#> 
#> $P75
#> [1] 20.163
#> 
#> $P85
#> [1] 21.327
#> 
#> $P90
#> [1] 22.168
#> 
#> $P95
#> [1] 23.498
#> 
#> $P97
#> [1] 24.42
#> 
#> $P99
#> [1] 26.3
#> 
#> $P999
#> [1] 30.006
#> 
pct_weight_for_age(age = 5, weight = 20, sex = "female")
#> $percentile
#> [1] 72.9
#>