Togaware DATA MINING
Desktop Survival Guide
by Graham Williams
Google

Simple Map



> library(mapdata)
> map("china")

Image dmsurvivor-rdata:map_china

Get rid of the provinces by sub-setting the mapdata worldHires dataset:

Or generate a different geographic footprint with:



> library(maptools)
> data(wrld_simpl)
> plot(wrld_simpl[wrld_simpl$ISO2 %in% c("CN", "TW"),])

Image dmsurvivor-rdata:map_china_no_provinces_maptools



Copyright © Togaware Pty Ltd
Support further development through the purchase of the PDF version of the book.
The PDF version is a formatted comprehensive draft book (with over 800 pages).
Brought to you by Togaware. This page generated: Sunday, 22 August 2010