R Dataset / Package mosaicData / TenMileRace
On this R-data statistics page, you will find information about the TenMileRace data set which pertains to Cherry Blossom Race. The TenMileRace data set is found in the mosaicData R package. You can load the TenMileRace data set in R by issuing the following command at the console data("TenMileRace"). This will load the data into a variable called TenMileRace. If R says the TenMileRace data set is not found, you can try installing the package by issuing this command install.packages("mosaicData") and then attempt to reload the data with the library() command. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the TenMileRace R data set. The size of this file is about 190,171 bytes.
Cherry Blossom Race
Description
The Cherry Blossom 10 Mile Run is a road race held in Washington, D.C. in April each year. (The name comes from the famous cherry trees that are in bloom in April in Washington.) The results of this race are published. This data frame contains the results from the 2005 race.
Usage
data(TenMileRace)
Format
A data frame with 8636 observations on the following variables.
-
state
State of residence of runner. -
time
Official time from starting gun to finish line. -
net
The recorded time (in seconds) from when the runner crossed the starting line to when the runner crossed the finish line. This is generally less than the official time because of the large number of runners in the race: it takes time to reach the starting line after the gun has gone off. -
age
Age of runner in years. -
sex
A factor with levelsF
M
.
Examples
data(TenMileRace) if (require(lattice)) { xyplot(net ~ age, data=TenMileRace, groups=sex) lm(net ~ age + sex, data=TenMileRace) }
Dataset imported from https://www.r-project.org.