Learn R Programming

MPV (version 1.64)

p7.2: Data Set for Problem 7-2

Description

The p7.2 data frame has 10 observations on solid-fuel rocket propellant weight loss.

Usage

data(p7.2)

Arguments

Format

This data frame contains the following columns:

x

months since production

y

weight loss (kg)

Examples

Run this code
data(p7.2)
y.lm <- lm(y ~ x + I(x^2), data=p7.2)
summary(y.lm)
plot(y ~ x, data=p7.2)

Run the code above in your browser using DataLab