Learn R Programming

tmap (version 0.6)

tmap-element: tmap element

Description

Building block to draw thematic maps.

Arguments

Details

The only fundamental, and hence required element is
  • tm_shapethat specifies the shape object, and also controls the projection and bounding box
The elements that serve as drawing layers are The layers can be stacked by simply adding them with the + symbol. The combination of the elements described above form one group. Multiple groups can be stacked. Each group should start with tm_shape. The layout elements are
  • tm_layoutto change the appearance of the map, for instance titles and legend positions. Predefined themes for the example shape files aretm_layout_World,tm_layout_Europe, andtm_layout_NLD.
  • tm_facetsthat specifies how small multiples are created, i.e. how many rows and colums, and whether the statistical data variables have free scales or not.
  • tm_gridthat specifies grid lines