Learn R Programming

BSDA (version 1.01)

Fitness: Number of sit-ups before and after a physical fitness course

Description

Data for Exercise 7.71

Usage

Fitness

Arguments

Format

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

Before

a numeric vector

After

a numeric vector

Examples

Run this code
# NOT RUN {
str(Fitness)
attach(Fitness)
DIF <- After - Before
qqnorm(DIF)
qqline(DIF)
shapiro.test(DIF)
t.test(After,Before,paired=TRUE,alternative="greater")
detach(Fitness)
# }

Run the code above in your browser using DataLab