read_anthro | R Documentation |
Function to calculate z-scores and csd-scores based on anthro tables.
read_anthro(path = "", cdc.only = FALSE, prelim_infants = FALSE)
path |
Path to supplied reference anthro data. Defaults to package anthro tables. |
cdc.only |
Whether or not only CDC data should be used. Defaults to false. |
prelim_infants |
TRUE/FALSE. Run the in-development release of the infants algorithm (expands pediatric algorithm to improve performance for children 0 – 2 years). Not recommended for use in research. For more information regarding the logic of the algorithm, see the vignette 'Preliminary Infants Algorithm.' Defaults to FALSE. |
Function for calculating BMI based on measurement, age in days, sex, and measurement value.
# Return calculating function with all defaults
afunc <- read_anthro()
# Return calculating function while specifying a path and using only CDC data
afunc <- read_anthro(path = system.file("extdata", package = "growthcleanr"),
cdc.only = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.