computeGenderStratifiedIntervalFraction: Compute a given scenario's AAF for current drinkers in the...

Description Usage Arguments

View source: R/scenarios.R

Description

Compute a given scenario's AAF for current drinkers in the given intervals of consumption, stratified over the given values of the gender variable, and add it to the scenario.

Usage

1
computeGenderStratifiedIntervalFraction(.data, lower_strata, upper_strata)

Arguments

.data

a scenario

strata

a list where names(list) intersects with .data$gender, and each entry of strata is a list with a "lower" and "upper" bound of consumption

var_name

the name of the new variable to be added


uvic-cisur/intermahpr documentation built on June 17, 2020, 1:30 a.m.