Swimtimes: Swim Times

SwimtimesR Documentation

Swim Times

Description

Swimmers' improvements in seconds for two diets are stored in the data frame Swimtimes. The values in highfat represent the time improvement in seconds for swimmers on a high fat diet, and the values in lowfat represent the time improvement in seconds for swimmers on a low fat diet. Data are used in Example 10.9.

Format

A data frame with 14 observations on the following 2 variables:

lowfat

time improvement in seconds

highfat

time improvement in seconds

Details

Times for the thirty-two swimmers for the 200 yard individual medley were taken right after the swimmers' conference meet. The swimmers were randomly assigned to follow one of the diets. The group on diet 1 followed a low fat diet the entire year but lost two swimmers along the way. The group on diet 2 followed the high fat diet the entire year and also lost two swimmers.

Source

Ugarte, M. D., Militino, A. F., and Arnholt, A. T. (2008) Probability and Statistics with R. Chapman & Hall/CRC.

Examples


with(data = Swimtimes, 
wilcox.test(highfat, lowfat))


PASWR documentation built on May 15, 2022, 5:05 p.m.