Learn R Programming

BSDA (version 1.01)

Asthmati: Asthmatic relief index on 9 subjects given a drug and a placebo

Description

Data for Exercise 7.52

Usage

Asthmati

Arguments

Format

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

Drug

a numeric vector

Placebo

a numeric vector

differ

a numeric vector

Examples

Run this code
# NOT RUN {
str(Asthmati)
attach(Asthmati)
qqnorm(differ)
qqline(differ)
shapiro.test(differ)
t.test(Placebo,Drug,paired=TRUE,mu=0,alternative="greater")
detach(Asthmati)
# }

Run the code above in your browser using DataLab