On this R-data statistics page, you will find information about the milk data set which pertains to Milk Sweetness Study. The milk data set is found in the DAAG R package. You can load the milk data set in R by issuing the following command at the console data("milk"). This will load the data into a variable called milk. If R says the milk 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 milk R data set. The size of this file is about 3,647 bytes.
Milk Sweetness Study
milk data frame has 17 rows and 2 columns. Each of 17 panelists compared two milk samples for sweetness.
This data frame contains the following columns:
a numeric vector consisting of the assessments for four units of additive
a numeric vector while the is the assessment for one unit of additive
print("Rug Plot - Example 1.8.1")
xyrange <- range(milk)
plot(four ~ one, data = milk, xlim = xyrange, ylim = xyrange, pch = 16)
rug(milk$four, side = 2)
Dataset imported from https://www.r-project.org.