Learn R Programming

MPV (version 1.64)

p7.4: Data Set for Problem 7-4

Description

The p7.4 data frame has 12 observations on two variables.

Usage

data(p7.4)

Arguments

Format

This data frame contains the following columns:

x

a numeric vector

y

a numeric vector

Examples

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

Run the code above in your browser using DataLab