R Dataset / Package lattice / environmental

Attachment Size
dataset-37302.csv 1.55 KB
Dataset License
GNU General Public License v2.0
Documentation License
GNU General Public License v2.0

On this Picostat.com statistics page, you will find information about the environmental data set which pertains to Atmospheric environmental conditions in New York City . The environmental data set is found in the lattice R package. You can load the environmental data set in R by issuing the following command at the console data("environmental"). This will load the data into a variable called environmental. If R says the environmental data set is not found, you can try installing the package by issuing this command install.packages("lattice") and then attempt to reload the data. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the environmental R data set. The size of this file is about 1,591 bytes.

Atmospheric environmental conditions in New York City


Daily measurements of ozone concentration, wind speed, temperature and solar radiation in New York City from May to September of 1973.




A data frame with 111 observations on the following 4 variables.


Average ozone concentration (of hourly measurements) of in parts per billion.


Solar radiation (from 08:00 to 12:00) in langleys.


Maximum daily emperature in degrees Fahrenheit.


Average wind speed (at 07:00 and 10:00) in miles per hour.


Documentation contributed by Kevin Wright.


Bruntz, S. M., W. S. Cleveland, B. Kleiner, and J. L. Warner. (1974). The Dependence of Ambient Ozone on Solar Radiation, Wind, Temperature, and Mixing Height. In Symposium on Atmospheric Diffusion and Air Pollution, pages 125–128. American Meterological Society, Boston.


Cleveland, William S. (1993) Visualizing Data. Hobart Press, Summit, New Jersey.


# Scatter plot matrix with loess lines
# Conditioned plot similar to figure 5.3 from Cleveland
Temperature <- equal.count(temperature, 4, 1/2)
Wind <- equal.count(wind, 4, 1/2)
xyplot((ozone^(1/3)) ~ radiation | Temperature * Wind,
	prepanel = function(x, y) 
		prepanel.loess(x, y, span = 1),
	panel = function(x, y){
		panel.grid(h = 2, v = 2)
		panel.xyplot(x, y, cex = .5)
		panel.loess(x, y, span = 1)
	xlab = "Solar radiation (langleys)",
	ylab = "Ozone (cube root ppb)")
detach()# Similar display using the coplot function
  coplot((ozone^.33) ~ radiation | temperature * wind,
  panel = function(x, y, ...) panel.smooth(x, y, span = .8, ...),
  xlab="Solar radiation (langleys)",
  ylab="Ozone (cube root ppb)")

Dataset imported from https://www.r-project.org.

Title Authored on Content type
OpenIntro Statistics Dataset - dream August 9, 2020 - 12:25 PM Dataset
OpenIntro Statistics Dataset - winery_cars August 9, 2020 - 2:38 PM Dataset
R Dataset / Package HSAUR / toothpaste March 9, 2018 - 1:06 PM Dataset
R Dataset / Package HSAUR / pottery March 9, 2018 - 1:06 PM Dataset
R Dataset / Package HistData / Guerry March 9, 2018 - 1:06 PM Dataset