Learn R Programming

datana (version 1.1.0)

gasoline: Prices of gasoline and crude oil

Description

Prices of gasoline and crude oil

Usage

gasoline

Arguments

Format

Data frame of 14 rows and 3 columns:

year

Year of data

gasoline

Price of gasoline for year in cents / gallon

crude.oil

Price of crude oil fot year in $ / bbl

References

Statistial Abstract of the United States: 1989, pp476, 480.

Examples

Run this code
data(gasoline)
plot(gasoline~year, data = gasoline, type = "b",
     ylab = "Gasoline price (cents/gallon)",
     xlab = "Year")

Run the code above in your browser using DataLab