Name:
Andrew ID:
Collaborated with:

On this homework, you can collaborate with your classmates, but you must identify their names above, and you must submit your own homework as an knitted HTML file on Canvas, by Sunday 10pm, this week.

Important note: this assignment is to be completed using base R graphics. That means, e.g., no ggplot commands are allowed!

Fastest 100m sprint times

Below we read in a data set, as in lab, of the 2988 fastest times recorded for the 100m sprint, in men’s track, and the fastest 2137 fastest times recorded for the 100m, in women’s track. Both of these data sets were scraped from http://www.alltime-athletics.com/m_100ok.htm (this website was apparently last updated in November 2017).

sprint.dat = read.table(
  file="http://www.stat.cmu.edu/~ryantibs/statcomp-S18/data/sprint.dat", 
  sep="\t", quote="", header=TRUE)
sprint.w.dat = read.table(
  file="http://www.stat.cmu.edu/~ryantibs/statcomp-S18/data/sprint.w.dat", 
  sep="\t", quote="", header=TRUE)

Data frame and apply practice

Plotting tools and layers

Maungawhau volcano and heatmaps

Shakespeare and overlaid histograms (optional)