Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

ideal_weight_Traub

ideal weight for child per Traub


Description

2.396e0.01863(height), where height is in cm. There is an argument for using another package to capture durations, of which age is a special case. However, I am resisting bringing in external dependencies, and for almost all use-cases I can imagine, the age will be captured as a single number of one type, not a mix of types. Note that gender does not appear to be important in this relationship.

See package AGD for CDC growth chart data.

Usage

ideal_weight_Traub(height_m, age_y = NULL, ...)

Arguments

height_m

single numeric, height in meters

age_y

numeric vector, age(s) in years. Extremely exact age is not required, so for age in days or months, simplest just to divide. This is not used in the calculation itself, so may be missing.

...

arguments passed to downstream functions, e.g. warn = TRUE

Source

Examples

# will warn if given age is not in validate range from publication:
## Not run: 
  ideal_weight_child(height_m = 0.5, age_y = 0, do_warn = TRUE)
  ideal_weight_child(0.8, age_y = 11 / 12, do_warn = TRUE)
  ideal_weight_child(0.5, age_y = 25/365, do_warn = TRUE)

## End(Not run)
  ideal_weight_child(0.5, age_y = 25 / 365, do_warn = FALSE)
  ideal_weight_child(1, age_y = 2)

physiology

Calculate physiologic characteristics of awake and anesthetized adults, children and infants

v1.2.1
GPL-3
Authors
Jack O. Wasey [aut, cre, cph] (<https://orcid.org/0000-0003-3738-4637>), Bill Denney [ctb] (<https://orcid.org/0000-0002-5759-428X>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.