Learn R Programming

BSDA (version 1.01)

Coffee: Productivity of workers with and without a coffee break

Description

Data for Exercise 7.55

Usage

Coffee

Arguments

Format

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

Without

a numeric vector

With

a numeric vector

differ

a numeric vector

sgnrnks

a numeric vector

Examples

Run this code
# NOT RUN {
str(Coffee)
attach(Coffee)
qqnorm(differ)
qqline(differ)
shapiro.test(differ)
t.test(With,Without,paired=TRUE,alternative="greater")
wilcox.test(With,Without,paired=TRUE,alternative="greater")
detach(Coffee)
# }

Run the code above in your browser using DataLab