MILKCARTON {PASWR2} | R Documentation |
Milk Carton Drying Times
Description
A plastics manufacturer makes two sizes of milk containers: half gallon and gallon sizes. The time required for each size to dry is recorded in seconds in the data frame MILKCARTON
.
Usage
MILKCARTON
Format
A data frame with 80 observations on the following 2 variables:
-
seconds
(drying time in seconds) -
size
(factor with levelshalfgallon
andwholegallon
)
References
Ugarte, M. D., Militino, A. F., and Arnholt, A. T. 2015. Probability and Statistics with R, Second Edition. Chapman & Hall / CRC.
Examples
ggplot(data = MILKCARTON, aes(x = size, y = seconds)) + geom_boxplot()
ggplot(data = MILKCARTON, aes(x = size, y = seconds, fill = size)) + geom_boxplot() +
guides(fill = "none") + scale_fill_brewer() +
labs(x = "size of container", y = "drying time in seconds")
[Package PASWR2 version 1.0.5 Index]