View source: R/pct_growth_generic.R
pct_growth_generic | R Documentation |
Internal generic function to calculate weight/height/BMI growth percentiles for age/height for infants and children using CDC Growth Charts data and equations.
pct_growth_generic(
x,
y,
sex,
growth_chart,
return_numeric = TRUE,
return_median = FALSE,
x_argname = "x",
y_argname = "y",
y_units = "raw"
)
x |
A numeric vector of weights/heights/BMIs. |
y |
A numeric vector of ages/heights in the unit specified in |
sex |
A character vector specifying patient sex. Either |
growth_chart |
A CDC growth chart data frame (see growth-charts). |
return_numeric |
Return a numeric vector of percentiles for the given
physical measurement? Defaults to |
x_argname , y_argname |
A character string for naming the |
When return_numeric = TRUE
, a vector of percentiles for the given
physical measurement; when return_numeric = FALSE
, a growth chart data
frame.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.