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
sizeoftm_symbols()andlwdoftm_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
fillandsizeare used fortm_symbols()(using filled circles), the size legend items are filled with thevalue.neutralcolor from thefill.scalescale, and fill legend items are bubbles of sizevalue.neutralfrom thesize.scalescale.- value.na
(generic scale argument) Value used for missing values. See tmap option
"value.na"for defaults per visual variable.- ...
Arguments caught (and not used) from the automatic function
tm_scale()
