Skip to content
Prev 349661 / 398525 Next

Color US counties on US map using a numeric variable for color intensity

Hi Dimitri,
You can also try the color.scale function in plotrix, which allows you to
specify the NA color in the call.

newcol<-color.scale(mydata.final$Mean.Wait,extremes=c("yellow","red"),na.color="white")

Jim


On Fri, Apr 3, 2015 at 8:08 AM, Dimitri Liakhovitski <
dimitri.liakhovitski at gmail.com> wrote: