Compute the continuous estimated Blood Alcohol Concentration using the
standard Widmark formula. Mirrors the Python morie.calculate_ebac().
Usage
morie_calculate_ebac(drinks, weight_lbs, hours, gender_constant)
Arguments
- drinks
Number of standard drinks consumed (1 drink = 14 g alcohol).
- weight_lbs
Body weight in pounds.
- hours
Hours elapsed since drinking began.
- gender_constant
Widmark gender multiplier (0.73 men, 0.66 women).
Value
Non-negative numeric scalar: estimated BAC.
Details
The Widmark formula is:
$$eBAC = (drinks \times 5.14) / (weight\_lbs \times r) - 0.015 \times hours$$
where \(r\) is the gender constant (0.73 for men, 0.66 for women).
Returned values are clipped at zero.
Examples
morie_calculate_ebac(drinks = 4, weight_lbs = 180, hours = 2, gender_constant = 0.73)
#> [1] 0.1264688