Learn R Programming

experimentr (version 0.1.0)

mcgrath: Data from "Chocolate scents and product sales: a randomized controlled trial in a Canadian bookstore and cafe"

Description

This dataset is used in the exercises of Chapter 6 from the textbook.

Usage

mcgrath

Arguments

Format

A data frame with 30 rows and 5 variables:

treatment

Treatment indicator. 1 = treatment, 0 = control

book

Sales of books

coffee

Sales of bulk coffee, tea, or spices

food

Sales of food

grandtotal

Total of book, coffee, and food sales