Learn R Programming

BSDA (version 1.2.0)

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

Description

Data for Exercise 10.50

Usage

Shock

Arguments

Format

A data frame/tibble with 27 observations on two variables

group

grouping variable with values of Group1 (no shock), Group2 (medium shock), and Group3 (severe shock)

attempts

number of attempts to complete a task

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(attempts ~ group, data = Shock, col = "violet")
model <- lm(attempts ~ group, data = Shock)
anova(model)
rm(model)


# }

Run the code above in your browser using DataLab