Draw map & colour according to data from mappable.summ()
1 | map.totals(varb = "tcases", cols = rbow(11), intvl, ...)
|
varb |
Variable to use to colour map. Default is tcases. |
cols |
Vector of colours to use in plotting. Default is rbow(11). |
intvl |
Vector of intervals to be used to cut variable. Must be one less than length(cols). |
... |
Any other optional arguments to be passed to map("world", ...) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.