Learn R Programming

BSDA (version 1.01)

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

Description

Data for Exercise 10.3

Usage

Nervous

Arguments

Format

A data frame with 25 observations on the following 2 variables.

react

a numeric vector

drug

a numeric vector

Examples

Run this code
# NOT RUN {
str(Nervous)
attach(Nervous)
boxplot(react~drug)
anova(lm(react~as.factor(drug)))
detach(Nervous)
# }

Run the code above in your browser using DataLab