Learn R Programming

fma (version 2.5)

texasgas: Price and consumption of natural gas

Description

Price and per capita consumption of natural gas in 20 towns in Texas.

Usage

texasgas

Arguments

Format

Data frame containing the following columns:

price

Average price in cents per thousand cubic feet

consumption

Consumption per customer in thousand cubic feet.

Examples

Run this code
plot(consumption ~ price, data=texasgas)

Run the code above in your browser using DataLab