Cigar {BSDA}R Documentation

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

Description

Data for Example 10.4

Usage

Cigar

Format

A data frame with 100 observations on the following 6 variables.

brandA
a numeric vector
brandB
a numeric vector
brandC
a numeric vector
brandD
a numeric vector
tar
a numeric vector
brand
a numeric vector

Source

Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Duxbury

Examples

str(Cigar)
attach(Cigar)
boxplot(tar~brand)
anova(lm(tar~as.factor(brand)))
detach(Cigar)

[Package BSDA version 0.1 Index]