Learn R Programming

httk (version 2.5.0)

blood_mass_correct: Find average blood masses by age.

Description

If blood mass from blood_weight is negative or very small, then just default to the mean blood mass by age. (Geigy Scientific Tables, 7th ed.)

Usage

blood_mass_correct(blood_mass, age_months, age_years, gender, weight)

Value

A vector of blood masses in kg.

Arguments

blood_mass

A vector of blood masses in kg to be replaced with averages.

age_months

A vector of ages in months.

age_years

A vector of ages in years.

gender

A vector of genders (either 'Male' or 'Female').

weight

A vector of body weights in kg.

Author

Caroline Ring

References

Geigy Pharmaceuticals, "Scientific Tables", 7th Edition, John Wiley and Sons (1970)

ring2017identifyinghttk