R Dataset / Package reshape2 / tips


On this R-data statistics page, you will find information about the tips data set which pertains to Tipping data. The tips data set is found in the reshape2 R package. You can load the tips data set in R by issuing the following command at the console data("tips"). This will load the data into a variable called tips. If R says the tips data set is not found, you can try installing the package by issuing this command install.packages("reshape2") and then attempt to reload the data. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the tips R data set. The size of this file is about 9,729 bytes.

Tipping data


One waiter recorded information about each tip he received over a period of a few months working in one restaurant. He collected several variables:




A data frame with 244 rows and 7 variables


  • tip in dollars,

  • bill in dollars,

  • sex of the bill payer,

  • whether there were smokers in the party,

  • day of the week,

  • time of day,

  • size of the party.

In all he recorded 244 tips. The data was reported in a collection of case studies for business statistics (Bryant & Smith 1995).


Bryant, P. G. and Smith, M (1995) Practical Data Analysis: Case Studies in Business Statistics. Homewood, IL: Richard D. Irwin Publishing:


Dataset imported from https://www.r-project.org.

Title Authored on Content type
OpenIntro Statistics Dataset - dream August 9, 2020 - 12:25 PM Dataset
OpenIntro Statistics Dataset - winery_cars August 9, 2020 - 2:38 PM Dataset
R Dataset / Package HSAUR / toothpaste March 9, 2018 - 1:06 PM Dataset
R Dataset / Package HSAUR / pottery March 9, 2018 - 1:06 PM Dataset
R Dataset / Package HistData / Guerry March 9, 2018 - 1:06 PM Dataset
<iframe src="https://r-data.pmagunia.com/iframe/r-dataset-package-reshape2-tips.html" frameBorder="0" width="100%" height="307px" />
Attachment Size
dataset-59253.csv 9.5 KB
Dataset License
GNU General Public License v2.0
Documentation License
GNU General Public License v2.0

This documentation is licensed under GPLv3 or later.