| TenMileRace {mosaicData} | R Documentation |
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.
stateState of residence of runner.
timeOfficial time from starting gun to finish line.
netThe 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.
ageAge of runner in years.
sexA factor with levels
FM.
Examples
data(TenMileRace)
if (require(ggformula)) {
gf_point(net ~ age | sex, data = TenMileRace, color = ~sex, alpha = 0.1) |>
gf_density2d(color = "gray40")
lm(net ~ age + sex, data = TenMileRace)
}