Learn R Programming

SpatialEpi (version 1.2.8)

leglabs: 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

Roger Bivand, Nick Bearman, Nicholas Lewin-Koh