Learn R Programming

BSDA (version 1.2.0)

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

Description

Data for Example 10.3

Usage

Nervous

Arguments

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

Run this code
# NOT RUN {
boxplot(react ~ drug, data = Nervous, col = rainbow(4))
model <- aov(react ~ factor(drug), data = Nervous)
summary(model)
TukeyHSD(model)
plot(TukeyHSD(model), las = 1)

# }

Run the code above in your browser using DataLab