R Dataset / Package DAAG / sugar


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

Sugar Data


The sugar data frame has 12 rows and 2 columns. They are from an experiment that compared an unmodified wild type plant with three different genetically modified forms. The measurements are weights of sugar that were obtained by breaking down the cellulose.




This data frame contains the following columns:


weight, in mg


a factor with levels Control i.e. unmodified Wild form, A Modified 1, B Modified 2, C Modified 3




sugar.aov <- aov(weight ~ trt, data=sugar)
sugar.aov <- aov(formula = weight ~ trt, data = sugar)

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-daag-sugar.html" frameBorder="0" width="100%" height="307px" />
Attachment Size
dataset-57011.csv 139 bytes
Dataset License
GNU General Public License v2.0
Documentation License
GNU General Public License v2.0

This documentation is licensed under GPLv3 or later.