leglabs: Make legend labels

View source: R/leglabs.R

leglabsR Documentation

Make legend labels

Description

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

Usage

leglabs(vec, under = "under", over = "over", between = "-", reverse = FALSE)

Arguments

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

Author(s)

Roger Bivand, Nick Bearman, Nicholas Lewin-Koh


SpatialEpi documentation built on March 7, 2023, 8 p.m.