Learn R Programming

fma (version 2.5)

econsumption: Electricity consumption and temperature

Description

Electricity consumption and maximum temperature for 12 randomly chosen days.

Usage

econsumption

Arguments

Format

Data frame containing the following columns:

Mwh

Daily electricity consumption (megawatt-hours)

temp

Daily maximum temperature (degrees Celsius)

Examples

Run this code
plot(Mwh ~ temp, data=econsumption, pch=19, col=4)

Run the code above in your browser using DataLab