Learn R Programming

tmap (version 2.2)

tm_iso: Draw iso (contour) lines with labels

Description

This function is a wrapper of tm_lines and tm_text aimed to draw isopleths, which can be created with smooth_map.

Usage

tm_iso(col = NA, text = "level", size = 0.5, remove.overlap = TRUE,
  along.lines = TRUE, overwrite.lines = TRUE, group = NA, ...)

Arguments

col

line color. See tm_lines.

text

text to display. By default, it is the variable named "level" of the shape that is created with smooth_map

size

text size (see tm_text)

remove.overlap
along.lines
overwrite.lines
group

name of the group to which this layer belongs in view mode. Each group can be selected or deselected in the layer control item. Groups can either be specified as base or overlay groups in tm_view (arguments base.groups and overlay.groups).

...

arguments passed on to tm_lines or tm_text

See Also

smooth_map