Learn R Programming

BSDA (version 1.01)

Wheat: Price of a bushel of wheat versus the national weekly earnings of production workers

Description

Data for Exercise 2.11

Usage

Wheat

Arguments

Format

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

year

a numeric vector

earnings

a numeric vector

price

a numeric vector

Examples

Run this code
# NOT RUN {
str(Wheat)
attach(Wheat)
par(mfrow=c(1,2))
plot(year,earnings)
plot(year,price)
par(mfrow=c(1,1))
detach(Wheat)
# }

Run the code above in your browser using DataLab