| Utilities2 {mosaicData} | R Documentation |
Utility bills
Description
Data from utility bills at a private residence. This is an augmented version
of Utilities.
Usage
data(Utilities2)
Format
A data frame containing 117 observations for the following variables.
monthmonth (coded as a number)
dayday of month on which bill was calculated
yearyear of bill
tempaverage temperature (F) for billing period
kwhelectricity usage (kwh)
ccfgas usage (ccf)
thermsPerDaya numeric vector
billingDaysnumber of billing days in billing period
totalbilltotal bill (in dollars)
gasbillgas bill (in dollars)
elecbillelectric bill (in dollars)
notesnotes about the billing period
ccfpdayaverage gas usage per day (
Utilities2only)kwhpdayaverage electric usage per day (
Utilities2only)gasbillpdaygas bill divided by billing days (
Utilities2only)elecbillpdayelectric bill divided by billing days a numeric vector (
Utilities2only)totalbillpdaytotal bill divided by billing days a numeric vector (
Utilities2only)thermsthermsPerDay * billingDays(Utilities2only)monthsSinceY2Kmonths since 2000 (
Utilities2only)
Source
Daniel T. Kaplan, Statistical modeling: A fresh approach, 2009.
See Also
Examples
data(Utilities2)
if (require(ggformula)) {
gf_point(gasbillpday ~ temp, data = Utilities2)
}