leglabs | R Documentation |
leglabs makes character strings from the same break points. This function was copied from the soon-to-be
deprecated maptools
package with permission from author Roger Bivand
leglabs(vec, under = "under", over = "over", between = "-", reverse = FALSE)
vec |
vector of break values |
under |
character value for under |
over |
character value for over |
between |
character value for between |
reverse |
flag to reverse order of values, you will also need to reorder colours, see example |
Roger Bivand, Nick Bearman, Nicholas Lewin-Koh
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.