Learn R Programming

HSAUR2 (version 1.1-20)

men1500m: Winners of the Olympic Men's 1500m

Description

The data gives the winners of the men's 1500m race for the Olympic Games 1896 to 2004.

Usage

data("men1500m")

Arguments

Format

A data frame with 25 observations on the following 5 variables.

year

the olympic year.

venue

city where the games took place.

winner

winner of men's 1500m race.

country

country the winner came from.

time

time (in seconds) of the winner.

Examples

Run this code

  data("men1500m", package = "HSAUR2")
  op <- par(las = 2)
  plot(time ~ year, data = men1500m, axes = FALSE)
  yrs <- seq(from = 1896, to = 2004, by = 4)
  axis(1, at = yrs, labels = yrs)
  axis(2)
  box()
  par(op)

Run the code above in your browser using DataLab