You can make fancier plots if you use the ggplots2
library. Here are some examples. First you need to load the
ggplot2 library into R with the following command.
library("ggplot2")
results = read.csv("http://people.hsc.edu/faculty-staff/blins/classes/spring19/math222/Examples/highbridge2018.csv")
ggplot(data = results, aes(x=minutes))+geom_histogram(binwidth=10,boundary=0,color='black',fill='gray')+
labs(title="Race Times", y = "Runners", x = "Minutes")
ggplot(data = results, aes(x=gender,fill=gender))+geom_bar()
ggplot(data = results, aes(x=minutes, y=gender,fill=gender))+geom_boxplot()+labs(title="Race Times by Gender",x="Time (minutes)", y="Gender")
ggplot(data = results, aes(x=age, y=minutes, col=gender))+geom_point()+labs(title="Race Times by Age and Gender",x="Age",y="Time (minutes)")