Displaying 1 result from an estimated 1 matches for "this_stat".
Did you mean:
this_state
2009 Feb 19
2
colored maps again
I'm trying to create a colored map that would show the number of students
per state.
My data frame consists of two columns - state and count.
I'm using the following code
library(maps)
map("usa")
library(plotrix)
state.col<-color.scale(gre$count,0,0,c(0,1))
map("state",fill=TRUE,col=state.col)
I'm getting a map, but the values are not being mapped to correct