R/quitters.R

#' Smokoing cessation
#'
#' Data from a study of a smoking cessation study. Particiapnts were randomly
#' assigned to treatment and control groups. Participants in the treatment group
#' used a nicotine patch and met regularly with a support group. The Control
#' group wore patches but did not meet with a support group.
#'
#' @format A data frame with 300 rows and 2 variables: \describe{
#'   \item{treatment}{Participant's treatment group: \code{1} for treatment,
#'   \code{0} for control} \item{quit}{Whether participant quit smoking by end
#'   of study: \code{1} for yes, \code{0} for no} }
#' @source Data set created from the summarized data in 4th edition of
#'   \url{https://www.openintro.org/stat/textbook.php} (pp 245).
"quitters"
tloux/slubst3100 documentation built on Aug. 11, 2024, 6:58 p.m.