kentuckyCounty: Cancer case data in Kentucky

Description Usage Format Examples

Description

Lung cancer case counts, population, and map of Kentucky.

Usage

1
2
3
4
data('kentuckyCounty')
data('kentuckyTract')
data('kentuckyPuma')
data('kMap')

Format

SpatialPolygonsDataFrame of Kentucky census boundaries with cancer cases and population data.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# plot case data
data('kentuckyCounty')
data('kMap')

countyCol = mapmisc::colourScale(kentuckyCounty$count, 
							breaks = 7, style = 'quantile', dec = -1)

mapmisc::map.new(kentuckyCounty)
plot(kentuckyCounty, 
	col = countyCol$plot, 
	add = TRUE)
plot(kMap, add = TRUE)
mapmisc::legendBreaks('topleft', countyCol)

# plot population data
data('kentuckyTract')

kCol = mapmisc::colourScale(kentuckyTract$expected, 
						breaks = 9, style = 'equal', dec = 0)

mapmisc::map.new(kentuckyTract)
plot(kentuckyTract, 
	col = kCol$plot, border = '#00000010', 
	add = TRUE)
plot(kMap, add = TRUE)
mapmisc::legendBreaks('topleft', kCol)

localEM documentation built on May 3, 2019, 1:24 p.m.