Learn R Programming

httk (version 1.8)

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)

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.

Value

A vector of blood masses in kg.

References

Ring, Caroline L., et al. "Identifying populations sensitive to environmental chemicals by simulating toxicokinetic variability." Environment International 106 (2017): 105-118.