Learn R Programming

BSDA (version 1.2.0)

Treatments: Illustrates analysis of variance for three treatment groups

Description

Data for Exercise 10.44

Usage

Treatments

Arguments

Format

A data frame/tibble with 24 observations on two variables

score

score from an experiment

group

factor with levels 1, 2, and 3

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(score ~ group, data = Treatments, col = "violet")
summary(aov(score ~ group, data = Treatments))
summary(lm(score ~ group, data = Treatments))
anova(lm(score ~ group, data = Treatments))

# }

Run the code above in your browser using DataLab