Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

Cigar

Milligrams of tar in 25 cigarettes selected randomly from 4 different brands


Description

Data for Example 10.4

Usage

Cigar

Format

A data frame/tibble with 100 observations on two variables

tar

amount of tar (measured in milligrams)

brand

a factor indicating cigarette brand with levels brandA, brandB, brandC, and brandD

References

Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.

Examples

boxplot(tar ~ brand, data = Cigar, col = "cyan", ylab = "mg tar")
anova(lm(tar ~ brand, data = Cigar))

BSDA

Basic Statistics and Data Analysis

v1.2.0
GPL (>= 2)
Authors
Alan T. Arnholt [aut, cre], Ben Evans [aut]
Initial release
2017-07-29

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.