Learn R Programming

RgoogleMaps (version 1.4.2)

pennLC: Pennsylvania Lung Cancer

Description

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.

Usage

data(pennLC)

Arguments

Format

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)

See Also

NYleukemia

Examples

Run this code
# NOT RUN {
data(pennLC)
#pennLC$geo
#pennLC$data
#pennLC$smoking

# Map smoking rates in Pennsylvania
#mapvariable(pennLC$smoking[,2], pennLC$spatial.polygon)
# }

Run the code above in your browser using DataLab