To open R with the dataset preloaded, right-click here and choose "Save Target As" to download the file to your computer. Then find the downloaded file and double-click it to open it in R.
The data have been loaded into the data frame olym. Enter the command olym to see the data. The data frame olym has the following variables: Year, Time.
Here is a description of the variables:
Year: the year of the Olympic Games, from 1896 to 2000. Time: the winning time for the 1,500 meter race, in seconds.First, let's explore the relationship between the two quantitative variables: year and time. Produce a scatterplot and use it to verify that year and time are nearly linear in their relationship.
To do this in R, copy the command:
plot(olym$Year, olym$Time, xlab="Year of Olympic Games",ylab="Winning Time of 1500m Race (secs)")