Learn R Programming

BSDA (version 1.01)

Treatments: Illustrates analysis of variance for three treatment groups

Description

Data for Exercise 10.44

Usage

Treatments

Arguments

Format

A data frame with 24 observations on the following 5 variables.

treat1

a numeric vector

treat2

a numeric vector

treat3

a numeric vector

Treatmnt

a numeric vector

Group

a numeric vector

Examples

Run this code
# NOT RUN {
str(Treatments)
attach(Treatments)
anova(lm(Treatmnt~as.factor(Group)))
detach(Treatments)
# }

Run the code above in your browser using DataLab