Description Usage Format Source Examples
Data from utility bills at a residence.
1 2 3 |
A data frame 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)
elecbillexectric bill (in dollars)
notesnotes about the billing period
ccfpdayaverage gas usage per day [utilities2 only]
kwhpdayaverage electric usage per day [utilities2 only]
gasbillpdaygas bill divided by billing days [utilities2 only]
elecbillpdayelectric bill divided by billing days a numeric vector [utilities2 only]
totalbillpdaytotal bill divided by billing days a numeric vector [utilities2 only]
thermsthermsPerDay * billingDays [utilities2 only]
monthsSinceY2Kmonths since 2000 [utilities2 only]
Daniel T. Kaplan, Statistical modeling: A fresh approach, 2009.
1 2 3 | data(utilities); data(utilities2)
xyplot(gasbill ~ temp, utilities)
xyplot(gasbillpday ~ temp, utilities2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.