Skip to content

Commit

Permalink
correction - mean_sod is already in units per drinking occassion
Browse files Browse the repository at this point in the history
  • Loading branch information
dosgillespie committed Sep 1, 2023
1 parent c3e781e commit ae8d707
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/RRAlc.R
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ RRalc <- function(
if(!isTRUE(getcurve)) {

# Calculate average amount drunk per drinking occasion
p <- grams_ethanol_per_unit * data_RRalc[ , mean_sod] / data_RRalc[ , drink_freq]
p <- grams_ethanol_per_unit * data_RRalc[ , mean_sod]

}

Expand Down

0 comments on commit ae8d707

Please sign in to comment.