Rdocumentation
powered by
Learn R Programming
tmap (version 1.2)
get_asp_ratio: Get aspect ratio
Description
Get the aspect ratio of a shape object, i.e., the map width devided by the map height.
Usage
get_asp_ratio(shp)
Arguments
shp
shape object, either
Spatial
or a
Raster
.
Value
aspect ratio