Description Usage Arguments Details Value Examples
Categorise cigarette smoking into current, former and never regular cigarette smoker.
1 |
data |
Data table - the Health Survey for England dataset. |
Note that if some smokes either regularly or ocassionally, then they are classified as a current regular cigarette smoker. People who used to smoke regularly or ocassionally are classified as former smokers, but people who have only tried a cigarette once or twice are classified as never smokers.
This variable is created for adults aged >= 16 years, and children aged 8-15 years.
Returns two smoking variables:
cig_smoker_status - current, former, never
cig_ever - ever_smoker, never_smoker, based on current and former smokers from the variable above.
1 2 3 4 5 6 7 8 | ## Not run:
data_2016 <- read_2016()
data_2016 <- smk_status(data = data_2016)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.