toycars | R Documentation |
The toycars
data frame has 27 rows and 3 columns.
Observations are on the
distance traveled by one of three different toy cars on
a smooth surface, starting from rest at the top of a 16 inch long ramp
tilted at varying angles.
toycars
This data frame contains the following columns:
tilt of ramp, in degrees
distance traveled, in meters
a numeric code (1 = first car, 2 = second car, 3 = third car)
toycars.lm <- lm(distance ~ angle + factor(car), data=toycars)
summary(toycars.lm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.