R Dataset / Package DAAG / milk
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 with the library() command. 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
Description
The milk
data frame has 17 rows and 2 columns. Each of 17 panelists compared two milk samples for sweetness.
Usage
milk
Format
This data frame contains the following columns:
- four
-
a numeric vector consisting of the assessments for four units of additive
- one
-
a numeric vector while the is the assessment for one unit of additive
Source
J.H. Maindonald
Examples
print("Rug Plot - Example 1.8.1") xyrange <- range(milk) plot(four ~ one, data = milk, xlim = xyrange, ylim = xyrange, pch = 16) rug(milk$one) rug(milk$four, side = 2) abline(0, 1)
Dataset imported from https://www.r-project.org.