pennLC | R Documentation |
County-level (n=67) population/case data for lung cancer in Pennsylvania in 2002, stratified on race (white vs non-white), gender and age (Under 40, 40-59, 60-69 and 70+). Additionally, county-specific smoking rates.
data(pennLC)
List of 3 items:
geo | a table of county IDs, longitude/latitude of the geographic centroid of each county |
data | a table of county IDs, number of cases, population and strata information |
smoking | a table of county IDs and proportion of smokers |
spatial.polygon | an object of class SpatialPolygons (See SpatialPolygons-class) |
Population data was obtained from the 2000 decennial census, lung cancer and smoking data were obtained from the Pennsylvania Department of Health website: http://www.dsf.health.state.pa.us/
NYleukemia
data(pennLC)
#pennLC$geo
#pennLC$data
#pennLC$smoking
# Map smoking rates in Pennsylvania
#mapvariable(pennLC$smoking[,2], pennLC$spatial.polygon)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.