Learn R Programming

DAAG (version 0.37)

toycars: Toy Cars Data

Description

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.

Usage

data(toycars)

Arguments

Examples

Run this code
data(toycars)
toycars.lm <- lm(distance ~ angle + factor(car), data=toycars)
summary(toycars.lm)

Run the code above in your browser using DataLab