Description Usage Format Examples
Daily measurements of death, temperature, dewpoint, and PM10 pollution
from Chicago, 1987 to 2000. Data taken from the NMMAPS database
using NMMAPSdata
, a package written by Roger Peng
and available at: http://www.ihapss.jhsph.edu/data/NMMAPS/R/.
1 |
A data frame indicating the date, temperature, dewpoint, and PM10
pollution from Chicago. Frame also includes the mask variable needed
for estimating a sp basis, see spsmooth
.
1 2 3 4 5 6 7 8 9 10 11 12 13 | # This provides the code that generated this set originally using
# the now-deprecated 'NMMAPSlite' package, and is included here for historical
# reference.
#
# library("NMMAPSlite")
# initDB() # ** this creates a directory for a data archive
# chic <- readCity("chic", collapseAge=TRUE)
# chic <- chic[, c("date", "death", "time", "tmpd", "dptp", "dow", "pm10tmean")]
# mask <- rep(FALSE, length(chic[, "pm10tmean"]))
# mask[!is.na(chic[, "pm10tmean"])] <- TRUE
# chic <- cbind(chic, mask)
# save(chic, file="chicagoNMMAPS.RData")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.