This function was renamed to tm_scalebar()
in tmap v4.0.
Arguments
- ...
Arguments passed on to
tm_scalebar
breaks
breaks
width
width
text.size
text size
text.color
text.color
color.dark
color.dark
color.light
color.light
lwd
linewidth
size
Deprecated (use
text.size
instead)stack
stack
margins
margins
frame
frame
frame.lwd
frame line width
frame.r
Radius of the rounded frame corners. 0 means no rounding.
bg.color
Background color
bg.alpha
Background transparency
position
Vector of two values, specifying the x and y coordinates. The first is either
"left"
or"right"
, the second either"top"
or"bottom"
.z
z