Swimtimes | R Documentation |
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.
A data frame with 14 observations on the following 2 variables:
time improvement in seconds
time improvement in seconds
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.
Ugarte, M. D., Militino, A. F., and Arnholt, A. T. (2008) Probability and Statistics with R. Chapman & Hall/CRC.
with(data = Swimtimes, wilcox.test(highfat, lowfat))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.