pct_weight_for_age: Percentile weight for age for children

View source: R/pct_weight_for_age.R

pct_weight_for_ageR Documentation

Percentile weight for age for children

Description

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")
pct_weight_for_age(age = 5, weight = 20, sex = "female")

InsightRX/clinPK documentation built on Feb. 28, 2024, 12:06 a.m.