Learn R Programming

PASWR (version 1.3)

TireWear: Tire Wear

Description

The data frame TireWear contains measurements for the amount of tread loss after 10,000 miles of driving in thousandths of an inch. Data are used in Example 11.8.

Arguments

Format

A data frame with 16 observations on the following 3 variables:

Wear

tread loss measured in thousandths of an inch

Treat

a factor with levels A, B, C, and D

Block

a factor with levels Car1, Car2, Car3, and Car4

Examples

Run this code
# NOT RUN {
par(mfrow = c(1, 2), cex = 0.8)
with(data = TireWear,
interaction.plot(Treat, Block, Wear, type = "b", legend = FALSE))
with(data = TireWear, 
interaction.plot(Block, Treat, Wear, type = "b", legend = FALSE))
par(mfrow = c(1, 1), cex = 1)

# }

Run the code above in your browser using DataLab