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.
TOP20A data frame with 15 observations on the following variable:
income (yearly income in millions of dollars)
Ugarte, M. D., Militino, A. F., and Arnholt, A. T. 2015. Probability and Statistics with R, Second Edition. Chapman & Hall / CRC.
ggplot(data = TOP20, aes(x = income)) +
geom_histogram(binwidth = 1, fill = "lightblue", color = "blue") +
labs(x = "yearly income in millions of dollars")