complete_color | R Documentation |
From https://github.com/chxy/cartogram/blob/master/R/dorling.R Not exported here, but needed for aec_carto_f
complete_color(cl, targetlen)
cl |
a vector of colors |
targetlen |
the target length |
a vector of completed cl with length n
## Not run:
complete_color('red',5)
complete_color(c('red','blue'),5)
complete_color(c('red','blue','green','yellow','pink','grey'),5)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.