Learn R Programming

PASWR (version 1.0)

HSwrestler: High School Wrestlers

Description

The body fat of 78 high school wrestlers was measured using three separate techniques, and the results are stored in the data frame HSwrestler. The techniques used were hydrostatic weighing (HWFAT), skin fold measurements (SKFAT), and the Tanita body fat scale (TANFAT). Data are used in Examples 10.11, 12.11, and 12.12.

Usage

HSwrestler

Arguments

source

Data provided by Dr. Alan Utter, Department of Health Leisure and Exercise Science, Appalachian State University.

References

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

Examples

Run this code
attach(HSwrestler)
FAT <- c(HWFAT,TANFAT,SKFAT)
GROUP <- factor(rep(c("HWFAT","TANFAT","SKFAT"),rep(78,3)))
BLOCK <- factor(rep(1:78,3))
friedman.test(FAT~GROUP|BLOCK)
detach(HSwrestler)

Run the code above in your browser using DataLab