Helper function for labels This is basically a thin wrapper around text, that passes x[[labelcol]] to text as the labels parameter

SOmap_text(x, labelcol, ...)

Arguments

x

data.frame, Spatial data.frame, or sfc: data to pass to text

labelcol

string: name of the column in x to use for text labels

...

other plot arguements

Value

as for text

See also