Learn R Programming

PASWR2 (version 1.0.5)

TENNIS: Speed Detector

Description

The Yonalasee tennis club has two systems to measure the speed of a tennis ball. The local tennis pro suspects one system (speed1) consistently records faster speeds. To test her suspicions, she sets up both systems and records the speeds of 12 serves (three serves from each side of the court). The values are stored in the data frame TENNIS in the variables speed1 and speed2. The recorded speeds are in kilometers per hour.

Usage

TENNIS

Arguments

Format

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

  • speed1 (speed in kilometers per hour)

  • speed2 (speed in kilometers per hour)

References

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

Examples

Run this code
# NOT RUN {
with(data = TENNIS, boxplot(speed1, speed2))
# }

Run the code above in your browser using DataLab