marathon | R Documentation |
Marathon times of male and female winners of the New York City Marathon 1970-1999. See nyc_marathon for a more updated dataset. We recommend not using this dataset since the data source has been taken off the web.
marathon
A data frame with 60 observations on the following 3 variables.
Year
Gender
Running time (in hours)
Data source has been removed.
library(ggplot2)
ggplot(marathon, aes(x = time)) +
geom_histogram(binwidth = 0.15)
ggplot(marathon, aes(y = time, x = gender)) +
geom_boxplot()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.