Learn R Programming

SMPracticals (version 1.4-3.1)

bike: Bicycling Times

Description

The times taken to cycle up a hill, as function of the bicycle seat height, use of dynamo, and tyre pressure. 16 runs were made using a factorial design.

Usage

data(bike)

Arguments

Format

A data frame with 16 observations on the following 11 variables.

day

Day of run

run

Order of run

seat

Seat height: -1 indicates 26 inches, 1 indicates 30 inches

dynamo

Use of dynamo: -1 indicates not used

tyre

Tyre pressure: -1 indicates 40 psi, 1 indicates 55 psi

dayf

factor corresponding to day

runf

factor corresponding to run

seatf

factor corresponding to seat height

dynamof

factor corresponding to use of dynamo

tyref

factor corresponding to tyre pressure

time

Run time (seconds)

References

Davison, A. C. (2003) Statistical Models. Cambridge University Press. Page 357.

Examples

Run this code
data(bike)
anova(lm(time~dayf+runf+seat+dynamo+tyre,data=bike))

Run the code above in your browser using DataLab