smoker | R Documentation |
The dataset is simulated based on the Wisconsin Smokers' Health Study 2.
data(smoker)
A data frame with 40,130 observations on 12 variables.
SubjectID: Subject ID
treatment: Treatment group (2 = patch, 3 = varenicline, 4 = combination nicotine replacement therapy)
patch: Received patch (0 = No, 1 = Yes)
varenicline: Received varenicline (0 = No, 1 = Yes)
comboNRT: Received combination nicotine replacement therapy (0 = No, 1 = Yes)
DaysFromTQD: Number of days from quit date
time.of.day: Time of day (0 = am, 1 = pm)
timeseq: Number of days from quit date (.5 indicates pm)
WantToSmokeLst15min: How did you feel in the last 15 min: wanting to smoke (1 = not at all, 7 = extremely)
NegMoodLst15min: How did you feel in the last 15 min: Negative mood (1 = not at all, 7 = extremely)
cessFatig: Cessation fatigue - I am tired of trying to quit smoking (1 = strongly disagree, 7 = strongly agree)
CigCount: Cigarettes smoked over entire day
smoke_status: Did you smoke (0 = No, 1 = Yes)
tvmb
, tvma_3trt
tvma
, LongToWide
data(smoker)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.