Learn R Programming

faraway (version 1.0.7)

insulgas: Effects of insulation on gas consumption

Description

Data on natural gas usage in a house. The weekly gas consumption (in 1000 cubic feet) and the average outside temperature (in degrees Celsius) was recorded for 26 weeks before and 30 weeks after cavity-wall insulation had been installed. The house thermostat was set at 20C throughout.

Usage

data(insulgas)

Arguments

Format

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

Insulate

a factor with levels After Before

Temp

Outside temperature

Gas

Weekly consumption in 1000 cubic feet

Examples

Run this code
data(insulgas)
## maybe str(insulgas) ; plot(insulgas) ...

Run the code above in your browser using DataLab