Description Usage Arguments Value Examples
Compute the Estimated Weekly Alcohol Consumption from Extended AUDIT-C data
1 | compute_ewac(x, audit_coefficients = default_coefficients, uk_units = TRUE)
|
x |
a data frame or matrix with three character columns containing, in order:
|
audit_coefficients |
a list of coefficients (default: |
uk_units |
if |
a numeric vector
1 2 3 4 5 | compute_ewac(data.frame(list(
audit1_label = "2 to 3 times a week",
audit2_label = "1 to 2",
audit3_label = "Monthly"
)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.