tm_scale_asis | R Documentation |
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.
tm_scale_asis(values.scale = NA, value.neutral = NA, value.na = NA, ...)
values.scale |
(generic scale argument) Scaling of the values. Only useful for size-related visual variables, such as |
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 |
value.na |
(generic scale argument) Value used for missing values. See tmap option |
... |
Arguments caught (and not used) from the automatic function |
tm_scale()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.