Learn R Programming

BSDA (version 1.01)

Groupabc: Group data to illustrate analysis of variance

Description

Data for Exercise 10.42

Usage

Groupabc

Arguments

Format

A data frame with 15 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(Groupabc)
attach(Groupabc)
STACKED <-stack(Groupabc)
STACKED[1:5,]
boxplot(values~ind,col=c("red","blue","green"),data=STACKED)
anova(lm(values~ind,data=STACKED))
remove(STACKED)
detach(Groupabc)
# }

Run the code above in your browser using DataLab