ustemp: U.S. temperature data

Description Usage Format Source References Examples

Description

The ustemp data frame has 56 observations on the temperature and location of 56 U.S. cities.

Usage

1

Format

This data frame contains the following columns:

city

character string giving name of city and state (two-letter abbreviation).

min.temp

average minimum January temperature.

latitude

degrees latitude (north of Equator).

longitude

degrees longitude (west of Greenwich).

Source

Peixoto, J.L. (1990). A property of well-formulated polynomial regression models. American Statistician, 44, 26-30.

References

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

Examples

1
2
3
4
5
6
7
library(SemiPar)
data(ustemp)
attach(ustemp)
grey.levs <- min.temp+20
col.vec <- paste("grey",as.character(grey.levs),sep="")
plot(-longitude,latitude,col=col.vec,pch=16,cex=3,xlim=c(-130,-60))
text(-longitude,latitude,as.character(city))

Example output



SemiPar documentation built on May 2, 2019, 5:42 a.m.

Related to ustemp in SemiPar...