tm_shape | R Documentation |
Specify a shape, which is a spatial object from one of these spatial object
class packages: sf
, stars
, or terra
.
tm_shape(
shp,
bbox = NULL,
crs = NULL,
is.main = NA,
name = NULL,
unit = NULL,
filter = NULL,
...
)
shp |
Spatial object |
bbox |
Bounding box of he map (only used if |
crs |
CRS to which |
is.main |
Is |
name |
Name of the shape |
unit |
Unit of the coordinates |
filter |
Filter features |
... |
to catch deprecated arguments from version < 4.0 |
tm_shape(World, crs = "+proj=robin", filter = World$continent=="Africa") +
tm_polygons()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.