SWIMTIMES: Swim Times

Description Usage Format Details References Examples

Description

Swimmers' improvements in seconds for two diets are stored in the data frame SWIMTIMES. The values in seconds represent the time improvement in seconds for swimmers.

Usage

1

Format

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

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. One group followed a low fat diet the entire year but lost two swimmers along the way. The other group followed a high fat diet the entire year and also lost two swimmers.

References

Ugarte, M. D., Militino, A. F., and Arnholt, A. T. 2015. Probability and Statistics with R, Second Edition. Chapman & Hall / CRC.

Examples

1
2
3
wilcox.test(seconds ~ diet, data = SWIMTIMES)
ggplot(data = SWIMTIMES, aes(x = diet, y = seconds, fill = diet)) + geom_violin() + 
guides(fill = "none") + scale_fill_brewer()

PASWR2 documentation built on Sept. 5, 2021, 5:44 p.m.