R/mcgrath.R

#' Data from "Chocolate scents and product sales: a randomized controlled trial in a Canadian bookstore and cafe"
#'
#' This dataset is used in the exercises of Chapter 6 from the textbook.
#'
#' @format A data frame with 30 rows and 5 variables:
#' \describe{
#'   \item{treatment}{Treatment indicator. 1 = treatment, 0 = control}
#'   \item{book}{Sales of books}
#'   \item{coffee}{Sales of bulk coffee, tea, or spices}
#'   \item{food}{Sales of food}
#'   \item{grandtotal}{Total of book, coffee, and food sales}
#' }
#' @source McGrath, Mary C., et al. “Chocolate Scents and Product Sales: A Randomized Controlled Trial in a Canadian Bookstore and Café.” SpringerPlus, vol. 5, no. 1, 2016, https://doi.org/10.1186/s40064-016-2303-5.
"mcgrath"

Try the experimentr package in your browser

Any scripts or data that you put into this service are public.

experimentr documentation built on March 18, 2022, 7:22 p.m.