powered by
The elec.temp data frame has 55 observations on monthly electricity usage and average temperature for a house in Westchester County, New York, USA.
elec.temp
data(elec.temp)
This data frame contains the following columns:
monthly electricity usage (kilowatt-hours) from a house in Westchester County, New York, USA.
average temperature (degrees Fahrenheit) for the corresponding month.
Ruppert, D., Wand, M.P. and Carroll, R.J. (2003) Semiparametric Regression Cambridge University Press. http://stat.tamu.edu/~carroll/semiregbook/
# NOT RUN { library(SemiPar) data(elec.temp) attach(elec.temp) plot(usage,temp) # }
Run the code above in your browser using DataLab