Description Usage Arguments Value Author(s) References Examples
View source: R/promillo-withdoc.R
Computes the "alcohol per mille" value based on consumed alcohol, total body water and passed time since start of drinking
1 | get_permille(alcohol_drunk, bodywater, drinking_time)
|
alcohol_drunk |
mass of consumed alcohol in gram |
bodywater |
quantity of individuals body water in liters |
drinking_time |
two element POSIXct-vector with the first element being the start time of drinking and the second element being the end time of drinking |
a numeric value representing the blood-alcohol-level in per mille
Fabian Scheipl, Marc Johler
https://web.archive.org/web/20150123143123/http://promille-rechner.org/erlaeuterung-der-promille-berechnung/
1 2 3 4 5 6 7 8 | ## Not run:
get_permille(
alcohol_drunk = 48,
bodywater = 42,
drinking_time = as.POSIXct(c("2016-10-03 17:15:00", "2016-10-03 22:55:00"))
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.