View source: R/pct_height_for_age.R
pct_height_for_age | R Documentation |
Based on tables from WHO: http://www.who.int/childgrowth/standards/height_for_age/en/
pct_height_for_age(
age = NULL,
height = NULL,
sex = NULL,
return_median = FALSE,
...
)
age |
age in years |
height |
height 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()' |
pct_height_for_age(age = 5, sex = "female")
pct_height_for_age(age = 5, height = 112, sex = "female")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.