milk | R Documentation |
The milk
data frame has 17 rows and 2 columns.
Each of 17 panelists compared two milk samples
for sweetness.
milk
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
J.H. Maindonald
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.