Learn R Programming

UsingR (version 2.0-7)

alaska.pipeline: Comparison of in-field and laboratory measurement of defects

Description

The Alaska pipeline data consists of in-field ultrasonic measurements of the depths of defects in the Alaska pipeline. The depth of the defects were then re-measured in the laboratory. These measurements were performed in six different batches.

Usage

data(alaska.pipeline)

Arguments

Format

A data frame with 107 observations on the following 3 variables.

field.defect

Depth of defect as measured in field

lab.defect

Depth of defect as measured in lab

batch

One of 6 batches

Examples

Run this code
# NOT RUN {
data(alaska.pipeline)
res = lm(lab.defect ~ field.defect, alaska.pipeline)
plot(lab.defect ~ field.defect, alaska.pipeline)
abline(res)
plot(fitted(res),resid(res))
# }

Run the code above in your browser using DataLab