Description Usage Arguments Value
View source: R/vars_recover-filter.R
Recover alcoholism
1 | recover.alcoholism(alcoholism, alcohol, na.value = 0)
|
alcoholism |
original indicator variable for smoking condition |
alcohol |
alcohol condition (0: no drinker, 1: low risk drinker, 2: high risk drinker) |
na.value |
value to be assigned to people with missing in alcoholism variable |
recovered indicator variable for alcoholism condition from high risk drinker
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.