smoker {tvmediation}R Documentation

Wisconsin Smokers' Health Study 2

Description

The dataset is simulated based on the Wisconsin Smokers' Health Study 2.

Usage

data(smoker)

Format

A data frame with 40,130 observations on 12 variables.

  1. SubjectID: Subject ID

  2. treatment: Treatment group (2 = patch, 3 = varenicline, 4 = combination nicotine replacement therapy)

  3. patch: Received patch (0 = No, 1 = Yes)

  4. varenicline: Received varenicline (0 = No, 1 = Yes)

  5. comboNRT: Received combination nicotine replacement therapy (0 = No, 1 = Yes)

  6. DaysFromTQD: Number of days from quit date

  7. time.of.day: Time of day (0 = am, 1 = pm)

  8. timeseq: Number of days from quit date (.5 indicates pm)

  9. WantToSmokeLst15min: How did you feel in the last 15 min: wanting to smoke (1 = not at all, 7 = extremely)

  10. NegMoodLst15min: How did you feel in the last 15 min: Negative mood (1 = not at all, 7 = extremely)

  11. cessFatig: Cessation fatigue - I am tired of trying to quit smoking (1 = strongly disagree, 7 = strongly agree)

  12. CigCount: Cigarettes smoked over entire day

  13. smoke_status: Did you smoke (0 = No, 1 = Yes)

See Also

tvmb, tvma_3trt tvma, LongToWide

Examples

data(smoker)

[Package tvmediation version 1.1.0 Index]