Skip to content

Commit

Permalink
edit for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
dosgillespie committed Sep 1, 2023
1 parent ae8d707 commit b37eb5c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion R/PArisk.R
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ PArisk <- function(
# but this can influence the probability density
# but it makes things slow to have a large number
# try scaling back by 10%
kn <- 600 * 0.9
kn <- 600 * 0.9 # 540

grams_ethanol <- 1:kn

Expand Down
2 changes: 1 addition & 1 deletion R/WArisk_acute.R
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ WArisk_acute <- function(
# grams_ethanol_per_unit <- 8
# alc_wholly_acute_thresholds <- c(6, 8)

kn <- 600 * 0.9
kn <- 600 * 0.9 # 540
grams_ethanol <- 1:kn

# Units consumed above the binge threshold
Expand Down
2 changes: 1 addition & 1 deletion R/intervalprob.R
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#'
#'
intervalprob <- function(
grams_ethanol = 1:600,
grams_ethanol = 1:540,
SODMean = NULL,
SODSDV = NULL,
SODFreq = NULL,
Expand Down

0 comments on commit b37eb5c

Please sign in to comment.