smk_quit: Quitting smoking \lifecycleexperimental

View source: R/smk_quit.R

smk_quitR Documentation

Quitting smoking \lifecycleexperimental

Description

Cleans the data on the motivation to quit smoking and the use of support.

Usage

smk_quit(data)

Arguments

data

Data table - the Health Survey for England data.

Details

Only tested on England data Use of support not currently incorporated

Value

Returns an updated data table with:

  • giveup_smk - whether a current smoker wants to quit smoking (yes, no).

Examples


## Not run: 

data <- read_2001()
data <- smk_quit(data)


## End(Not run)


STAPM/hseclean documentation built on June 9, 2025, 4:50 a.m.