Learn R Programming

PASWR2 (version 1.0.5)

TOP20: Tennis Income

Description

TOP20 contains data (in millions of dollars) corresponding to the earnings of 15 randomly selected tennis players whose earnings fall somewhere in positions 20 through 100 of ranked earnings.

Usage

TOP20

Arguments

Format

A data frame with 15 observations on the following variable:

  • income (yearly income in millions of dollars)

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 {
ggplot(data = TOP20, aes(x = income)) + 
geom_histogram(binwidth = 1, fill = "lightblue", color = "blue") + 
labs(x = "yearly income in millions of dollars")
# }

Run the code above in your browser using DataLab