Last data update: 2014.03.03

R: Electricity usage and temperature data
elec.tempR Documentation

Electricity usage and temperature data

Description

The elec.temp data frame has 55 observations on monthly electricity usage and average temperature for a house in Westchester County, New York, USA.

Usage

data(elec.temp)

Format

This data frame contains the following columns:

usage

monthly electricity usage (kilowatt-hours) from a house in Westchester County, New York, USA.

temp

average temperature (degrees Fahrenheit) for the corresponding month.

Source

Chatterjee, S., Handcock, M. and Simonoff, J.S. (1995). A Casebook for a First Course in Statistics and Data Analysis, New York: John Wiley & Sons.

References

Ruppert, D., Wand, M.P. and Carroll, R.J. (2003)
Semiparametric Regression Cambridge University Press.
http://stat.tamu.edu/~carroll/semiregbook/

Examples

library(SemiPar)
data(elec.temp)
attach(elec.temp)
plot(usage,temp)

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(SemiPar)
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/SemiPar/elec.temp.Rd_%03d_medium.png", width=480, height=480)
> ### Name: elec.temp
> ### Title: Electricity usage and temperature data
> ### Aliases: elec.temp
> ### Keywords: datasets
> 
> ### ** Examples
> 
> library(SemiPar)
> data(elec.temp)
> attach(elec.temp)
> plot(usage,temp)
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>