Learn R Programming

BSDA (version 1.2.0)

Groupabc: Group data to illustrate analysis of variance

Description

Data for Exercise 10.42

Usage

Groupabc

Arguments

Format

A data frame/tibble with 45 observations on two variables

group

a factor with levels A, B, and C

response

a numeric vector

References

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

Examples

Run this code
# NOT RUN {
boxplot(response ~ group, data = Groupabc, 
        col = c("red", "blue", "green"))
        anova(lm(response ~ group, data = Groupabc))

# }

Run the code above in your browser using DataLab