Learn R Programming

MPV (version 1.64)

p2.16: Data Set for Problem 2-16

Description

The p2.16 data frame has 33 observations on the pressure in a tank the volume of liquid.

Usage

data(p2.16)

Arguments

Format

This data frame contains the following columns:

volume

volume of liquid

pressure

pressure in the tank

References

Carroll and Spiegelman (1986) The Effects of Ignoring Small Measurement Errors in Precision Instrument Calibration. Journal of Quality Technology, 18, 170-173.

Examples

Run this code
data(p2.16)
attach(p2.16)
plot(pressure ~ volume, pch=16)
pressure.lm <- lm(pressure ~ volume)
plot(pressure.lm, which=1)
summary(pressure.lm)
detach(p2.16)

Run the code above in your browser using DataLab