addGenderStratifiedIntervalFraction: 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
2
3
4
5
6
addGenderStratifiedIntervalFraction(
  .data,
  lower_strata,
  upper_strata,
  var_name = "aaf_xd"
)

Arguments

.data

a scenario

var_name

the name of the new variable to be added


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