text.RdPlots labels, that is a textual (rather than color) representation of values, on top an existing plot (map).
# S4 method for class 'SpatRaster'
text(x, labels, digits=0, halo=FALSE, hc="white", hw=0.1, ...)
# S4 method for class 'SpatVector'
text(x, labels, halo=FALSE, inside=FALSE, hc="white", hw=0.1, ...)SpatRaster or SpatVector
character. Optional. Vector of labels with length(x) or a variable name from names(x)
integer. How many digits should be used?
logical. If TRUE a "halo" is printed around the text
character. The halo color
numeric. The halo width
logical. Should the text always be placed inside one the sub-geometries?
additional arguments to pass to graphics function text