Scales in tmap are configured by the family of functions with prefix tm_scale
.
Such function should be used for the input of the .scale
arguments in the
layer functions (e.g. fill.scale
in tm_polygons()
).
The function tm_scale_asis()
is used to take data values as they are and use them as such for the visual variable.
Arguments
- values.scale
(generic scale argument) Scaling of the values. Only useful for size-related visual variables, such as
size
oftm_symbols()
andlwd
oftm_lines()
.- value.neutral
(generic scale argument) Value that can be considered neutral. This is used for legends of other visual variables of the same map layer. E.g. when both
fill
andsize
are used fortm_symbols()
(using filled circles), the size legend items are filled with thevalue.neutral
color from thefill.scale
scale, and fill legend items are bubbles of sizevalue.neutral
from thesize.scale
scale.- ...
Arguments caught (and not used) from the automatic function
tm_scale()