Learn R Programming

BSDA (version 1.01)

Trucks: Miles per gallon for standard 4-wheel drive trucks manufactured by Chevrolet, Dodge and Ford

Description

Data for Example 10.2

Usage

Trucks

Arguments

Format

A data frame with 15 observations on the following 5 variables.

chevy

a numeric vector

dodge

a numeric vector

ford

a numeric vector

gas.mileage

a numeric vector

truck

a factor with levels chevy dodge ford

Examples

Run this code
# NOT RUN {
str(Trucks)
attach(Trucks)
anova(lm(gas.mileage~truck))
detach(Trucks)
# }

Run the code above in your browser using DataLab