Rdocumentation
powered by
Learn R Programming
tmap (version 1.0)
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, which is one of
SpatialPolygons(DataFrame)
Value
aspect ratio