R Dataset / Package Stat2Data / Grocery


On this R-data statistics page, you will find information about the Grocery data set which pertains to Grocery. The Grocery data set is found in the Stat2Data R package. You can load the Grocery data set in R by issuing the following command at the console data("Grocery"). This will load the data into a variable called Grocery. If R says the Grocery data set is not found, you can try installing the package by issuing this command install.packages("Stat2Data") 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 Grocery R data set. The size of this file is about 1,491 bytes.



Grocery store sales


A dataset with 36 observations on the following 5 variables.

R project statistics dataset table
Discount Amount of discount: 5.00%, 10.00% or 15.00%
Store Store number (1-12)
Display Featured End of Aisl, Featured Middle of A, or Not Featured
Sales Number sold during one week
Price Wholesale price (in dollars)


Grocery stores and product manufacturers are always interested in how well the products on the store shelves sell. An experiment was designed to test whether the amount of discount given on products affected the amount of sales of that product. There were three levels of discount, 5%, 10%, and 15%, and sales were held for a week. The total number of products sold during the week of the sale was recorded. The researchers also recorded the wholesale price of the item put on sale.


These data are not real, though they are simulated to approximate an actual study. The data come from John Grego, Director of the Stat Lab at University of South Carolina.


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-stat2data-grocery.html" frameBorder="0" width="100%" height="307px" />
Attachment Size
dataset-10253.csv 1.46 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.