View source: R/tm_layers_cartogram.R
opt_tm_cartogram | R Documentation |
Map layer that draws a cartogram
opt_tm_cartogram(type = "cont", itermax = 15, ...)
opt_tm_cartogram_ncont(type = "ncont", expansion = 1, inplace = FALSE, ...)
opt_tm_cartogram_dorling(type = "dorling", share = 5, itermax = 1000, ...)
tm_cartogram(
size = 1,
size.scale = tm_scale(),
size.legend = tm_legend_hide(),
size.chart = tm_chart_none(),
size.free = NA,
plot.order = tm_plot_order("size", reverse = FALSE),
options = opt_tm_cartogram(),
...
)
type |
cartogram type, one of: "cont" for contiguous cartogram, "ncont" for non-contiguous cartogram and "dorling" for Dorling cartograms |
itermax |
maximum number of iterations (see |
... |
Arguments passed on to
|
expansion |
factor expansion, see |
inplace |
should each polygon be modified in its original place? ( |
share |
share of the bounding box filled with the larger circle (see |
size , size.scale , size.legend , size.chart , size.free |
Transformation variable that determines the size of the polygons. |
plot.order |
Specification in which order the spatial features are drawn.
See |
options |
options passed on to the corresponding |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.