Learn R Programming

BSDA (version 1.01)

Shock: Effect of experimental shock on time to complete difficult task

Description

Data for Exercise 10.50

Usage

Shock

Arguments

Format

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

Group1

a numeric vector

Group2

a numeric vector

Group3

a numeric vector

Examples

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

# }

Run the code above in your browser using DataLab