Learn R Programming

BSDA (version 1.01)

Groups: An illustration of analysis of variance

Description

Data for Exercise 10.4

Usage

Groups

Arguments

Format

A data frame with 26 observations on the following 3 variables.

GroupA

a numeric vector

GroupB

a numeric vector

GroupC

a numeric vector

Examples

Run this code
# NOT RUN {
str(Groups)
attach(Groups)
STACKED <-stack(Groups)
STACKED[1:5,]
boxplot(values~ind,col=c("red","blue","green"),data=STACKED)
anova(lm(values~ind,data=STACKED))
remove(STACKED)
detach(Groups)
# }

Run the code above in your browser using DataLab