Two techniques of splitting chips are randomly assigned to 28 sheets so that each technique is applied to 14 sheets. The the number of usable chips from each silicon sheet is stored in the variable
A data frame with 28 observations on the following 2 variables:
number (number of usable chips from each silicon sheet)
method (a factor with levels
Ugarte, M. D., Militino, A. F., and Arnholt, A. T. 2015. Probability and Statistics with R, Second Edition. Chapman & Hall / CRC.
1 2 3 4 5 6 7 8 9
# ggplot2 approach ggplot(data = CHIPS, aes(sample = number)) + stat_qq() + facet_grid(. ~ method) ggplot(data = CHIPS, aes(sample = number, color = method)) + stat_qq() ggplot(data=BODYFAT, aes(x = fat, fill = sex)) + geom_density(alpha = 0.4) + scale_fill_brewer() # lattice approach qqmath(~ number|method, data = CHIPS) qqmath(~ number, group = method, type = c('p', 'r'), auto.key = TRUE, data = CHIPS)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.