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 ranging from 0-30, "green" for values from 80-90, etc. 3. if possible, put the value of each state within the state on the map. here, take the numeric value as some text.
Thank you very much! AB AK AL AR AZ CT CA 91 80 NA NA 17 33 20 ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html