intervalprob.Rd
Computes the probability that each integer number of grams of ethanol per day is consumed on a single drinking occasion.
intervalprob(
grams_ethanol = 1:540,
SODMean = NULL,
SODSDV = NULL,
SODFreq = NULL,
grams_ethanol_per_unit = 8
)
Integer vector - the potential grams of ethanol drunk on a single occasion.
Numeric vector - the average amount that each individual is expected to drink on a single drinking occasion.
Numeric vector - the standard deviation of the amount that each individual is expected to drink on a single drinking occasion.
Numeric vector - the expected number of drinking occasions that each individual has each week.
Numeric value giving the conversion factor for the number of grams of pure ethanol in one UK standard unit of alcohol.
Returns a numeric vector containing the probability that each amount of alcohol is consumed