I have a text file with states and numbers. I would like to display each number that corresponds to a state on a map. I am trying to use the maps package, but it doesn't show Alaska or Hawaii. Do you have suggestions on how to do this? Jeffrey [[alternative HTML version deleted]]
On Jan 17, 2012, at 5:37 AM, Jeffrey Joh wrote:> > I have a text file with states and numbers. I would like to display > each number that corresponds to a state on a map. > > I am trying to use the maps package, but it doesn't show Alaska or > Hawaii. Do you have suggestions on how to do this?This question suggests you are not yet aware of the search facility built into R: RSiteSearch("maps Hawaii Alaska" ) A search query has been submitted to http://search.r-project.org The results page should open in your browser shortly The third hit was back to the "map" function help page. (The examples should be read and executed.) ?example> > [[alternative HTML version deleted]]And the above suggests you still need to read the following:> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html-- David Winsemius, MD West Hartford, CT
You might consider using the state.vbm map that is now part of the maptools package. -----Original Message----- From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf Of Jeffrey Joh Sent: Tuesday, January 17, 2012 3:37 AM To: r-help at r-project.org Subject: [R] Display numbers on map I have a text file with states and numbers. I would like to display each number that corresponds to a state on a map. I am trying to use the maps package, but it doesn't show Alaska or Hawaii. Do you have suggestions on how to do this? Jeffrey [[alternative HTML version deleted]] ______________________________________________ R-help at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.