Learn R Programming

mosaic (version 0.4-1)

Utilities2: Utility bills

Description

Data from utility bills at a private residence. This is an augmented version of Utilities.

Arguments

format

A data frame containing 117 observations for the following variables.
  • month
{month (coded as a number)} day {day of month on which bill was calculated} year {year of bill} temp {average temperature (F) for billing period} kwh {electricity usage (kwh)} ccf {gas usage (ccf)} thermsPerDay {a numeric vector} billingDays {number of billing days in billing period} totalbill {total bill (in dollars)} gasbill {gas bill (in dollars)} elecbill {exectric bill (in dollars)} notes {notes about the billing period} ccfpday {average gas usage per day [Utilities2 only]} kwhpday {average electric usage per day [Utilities2 only]} gasbillpday {gas bill divided by billing days [Utilities2 only]} elecbillpday {electric bill divided by billing days a numeric vector [Utilities2 only]} totalbillpday {total bill divided by billing days a numeric vector [Utilities2 only]} therms {thermsPerDay * billingDays [Utilities2 only]} monthsSinceY2K {months since 2000 [Utilities2 only]}

source

Daniel T. Kaplan, Statistical modeling: A fresh approach, 2009.

See Also

Utilities.

Examples

Run this code
data(Utilities2)
xyplot(gasbillpday ~ temp, Utilities2)

Run the code above in your browser using DataLab