Learn R Programming

MPV (version 1.64)

p7.6: Data Set for Problem 7-6

Description

The p7.6 data frame has 12 observations on softdrink carbonation.

Usage

data(p7.6)

Arguments

Format

This data frame contains the following columns:

y

carbonation

x1

temperature

x2

pressure

Examples

Run this code
data(p7.6)
y.lm <- lm(y ~ x1 + I(x1^2) + x2 + I(x2^2) + I(x1*x2), data=p7.6)
summary(y.lm)

Run the code above in your browser using DataLab