powered by
The Speeds of the Winning Horses in the Kentucky Derby, 1896-2012
data(derby)
A data frame with 117 observations on the following 4 variables.
speed
winning speed
year
year of race
cond
track condition with levels fast good heav mudd slop slow
fast
good
heav
mudd
slop
slow
name
Name of the winning horse
# NOT RUN { data(derby) n=length(derby$year) track=1:n*0+1 track[derby$cond=="good"]=2 track[derby$cond=="fast"]=3 plot(derby$year,derby$speed,col=track) # }
Run the code above in your browser using DataLab