Learn R Programming

fastR (version 0.10.3)

utilities: Utilities bills

Description

Data from utility bills at a residence.

Arguments

Format

A data frame 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]

Examples

Run this code
# NOT RUN {
data(utilities); data(utilities2)
xyplot(gasbill ~ temp, data=utilities)
xyplot(gasbillpday ~ temp, data=utilities2)

# }

Run the code above in your browser using DataLab