Last data update: 2014.03.03
|
R: Orange juice data - Part 2
orangejuice2 | R Documentation |
Orange juice data – Part 2
Description
A full description of the problem is given in orangejuice .
This dataset contains samples taken after the machine adjustment was made.
Usage
data(orangejuice)
Format
A data frame with 64 observations on the following 4 variables:
- sample
sample id
- D
number of defectives
- size
sample sizes
- trial
trial samples (TRUE/FALSE)
References
Montgomery, D.C. (1991) Introduction to Statistical Quality Control, 2nd ed, New York, John Wiley & Sons, pp. 155–159.
Examples
data(orangejuice2)
orangejuice2$d <- orangejuice2$D/orangejuice2$size
attach(orangejuice2)
summary(orangejuice2)
boxplot(d ~ trial)
mark <- ifelse(trial, 1, 2)
plot(sample, d, type="b", col=mark, pch=mark)
Results
|