Nervous: Reaction effects of 4 drugs on 25 subjects with a nervous...

NervousR Documentation

Reaction effects of 4 drugs on 25 subjects with a nervous disorder

Description

Data for Example 10.3

Usage

Nervous

Format

A data frame/tibble with 25 observations on two variables

react

a numeric vector representing reaction time

drug

a numeric vector indicating each of the 4 drugs

References

Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.

Examples


boxplot(react ~ drug, data = Nervous, col = rainbow(4))
model <- aov(react ~ factor(drug), data = Nervous)
summary(model)
TukeyHSD(model)
plot(TukeyHSD(model), las = 1)


BSDA documentation built on Sept. 19, 2023, 1:08 a.m.