Learn R Programming

spTimer (version 1.0-1)

NYdata: Observations of ozone concentration levels, maximum temperature and wind speed.

Description

This data set contains values of daily 8-hour maximum average ozone concentrations (parts per billion (ppb)), maximum temperature (in degree Celsius), wind speed (knots), and relative humidity, obtained from 28 monitoring sites of New York, USA. NYgrid: This dataset contains total 6200 rows for 62 days of observations for 10x10 = 100 grid points.

Usage

NYdata

Arguments

format

Columns for NYdata: each contains 1798 observations.
  • 1st col = Site index (s.index),
  • 2nd col = Longitude,
  • 3rd col = Latitude,
  • 4th col = Year,
  • 5th col = Month,
  • 6th col = Day,
  • 7th col = Ozone (o8hrmax),
  • 8th col = Maximum temperature (cMAXTMP),
  • 9th col = Wind speed (WDSP).
  • 10th col = Relative humidity (RH).

source

US EPA

See Also

NYgrid, spT.Gibbs, spT.subset.

Examples

Run this code
##
  library("spTimer")
# NY data
  data(NYdata)
  head(NYdata)
# plots in NY map
  NYsite<-unique(cbind(NYdata[,1:3]))
  head(NYsite)
# map
  library(maps)
  map(database="state",regions="new york")
  points(NYsite[,2:3],pch=19)

  # Grid data
  data(NYgrid)
  head(NYgrid)
  grid.coords<-unique(cbind(NYgrid[,8:9]))
  library(maps)
  plot(grid.coords,pch=19,col=1)
  map(database="state",regions="new york",add=TRUE)

##

Run the code above in your browser using DataLab