Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 7. Turning Up the Heat > Filling with Color Gradients

7.7.2. Filling with Color Gradients

R has some decent built-in color gradient functions (?rainbow to learn more)—we will need a different color for each non-zero level plus one extra for zero foreclosures.

  > mapColors<-heat.colors(max(myTrtFC)+1,alpha=.6)[max(myTrtFC)-myTrtFC+1] 

					  


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial