Learn R Programming

qcc (version 2.6)

orangejuice2: 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)

Arguments

Format

A data frame with 64 observations on the following 4 variables:
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

Run this code
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)

Run the code above in your browser using DataLab