Cigar | R Documentation |
Data for Example 10.4
Cigar
A data frame/tibble with 100 observations on two variables
amount of tar (measured in milligrams)
a factor indicating cigarette brand with levels brandA
, brandB
,
brandC
, and brandD
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
boxplot(tar ~ brand, data = Cigar, col = "cyan", ylab = "mg tar")
anova(lm(tar ~ brand, data = Cigar))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.