energy: Energy Consumption

Description Usage Format Details Examples

Description

Last year's energy consumptions for independent random samples of households in the four U.S. regions.

Usage

1
data("energy")

Format

A data frame with 20 observations on the following 2 variables.

ENERGY

a numeric vector

REGION

a factor with levels Midwest Northeast South West

Details

The Energy Information Administration gathers data on residential energy consumption and expenditures and publishes its findings in Residential Energy Consumption Survey. Independent random samples of households in the four U.S. regions yielded the data on last year's energy consumptions presented in the energy dataset. The data are displayed to the nearest 10 million BTU.

Examples

1
2
3
4
5

Example output

'data.frame':	20 obs. of  2 variables:
 $ ENERGY: int  13 8 11 12 11 15 10 16 11 13 ...
 $ REGION: Factor w/ 4 levels "Midwest","Northeast",..: 2 2 2 2 2 1 1 1 1 1 ...

wPerm documentation built on May 2, 2019, 3:02 a.m.