orangejuice2: Orange juice data - Part 2

orangejuice2R 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 <- transform(orangejuice2, d = D/size)
describe(orangejuice2, by = trial)
boxplot(d ~ trial, data = orangejuice2)
plot(d ~ sample, data = orangejuice2, type = "b", pch = ifelse(trial, 1, 19))

luca-scr/qcc documentation built on Feb. 25, 2023, 3:33 p.m.