Learn R Programming

dyn (version 0.2-11.0)

baltimore: Baltimore energy data

Description

Heating costs for a home in Baltimore.

Usage

data(baltimore)

Arguments

Format

The data set is a zoo series with a "Date" class time index and 6 numeric numeric columns.

startdate of start of billing period
thermsinteger number of therms used in this billing period
gasTotal cost of gas (including delivery and commodity charges) for natural gas
KWHsinteger number of KWH used in this billing period
electTotal cost of electricity (including delivery and commodity charges)
tempaverage daily outdoor temperature in degrees Fahrenheit, as printed on the bill
daysnumber of days in billing period.

Details

Heating system is a 10-15 year old natural gas steam boiler supplying iron radiators. Hot water heater, clothes dryer and stove and oven are also natural gas. Air conditioning is by various numbers of window units. If surface area of house is desired, I can add this at a later time.

Some interesting points in time:

22-Apr-04Date when house was upgraded 2 failed, older storm windows to more modern ones.
1-Sep-04Date when house was upgraded 4 failed, older storm windows to more modern ones. Interesting question: Did upgrading the windows significantly change the heat loss?
last week of July 1999Spouse moved in; both adults absent during the work day, setback thermostat used. Interesting question: Is there a discernable difference in the energy costs for heating between a single person and a couple? What's the heating "cost" of adding a spouse or roommate?
18-Dec-2005Brought home son; spouse and son home during the day, setback thermostat no longer used. Interesting question: What's the "cost" of adding a child?

Examples

Run this code
library(lattice)
data(baltimore)
xyplot(baltimore)
cor(baltimore)
xyplot(elect + gas ~ temp, 
	data = as.data.frame(baltimore), pch = 20, auto.key = TRUE)

Run the code above in your browser using DataLab