search for: statemapenv

Displaying 2 results from an estimated 2 matches for "statemapenv".

2005 May 27
1
images and maps in R
Hi: I have a question arising from my project. A sample of the data is below. The first row stands for the names of state in USA. The second row stand for some numeric value in that state. Some of them are NA. I can use the commands "data(stateMapEnv)" and "map('state', fill = F)" in library "maps" to make a plot of USA states. What I want to do is: 1. put the corresponding state name on the Map 2. give different state different colors which is related to their value. For example, "red" for values rang...
2008 Jan 02
3
USA map with all states
Hi R Gurus! There was a function in S called "usa()" which would plot the US. I found map('usa') in R for the lower 48 states. Is there a way to include Alaska and Hawaii as well, please? Thanks, Edna Bell