Make a cartogram, that is, a map where the area of polygons is made proportional to another variable. This can be a good way to map raw count data (e.g. votes).
Usage
# S4 method for SpatVector
cartogram(x, var, type)
Value
SpatVector
Arguments
x
SpatVector
var
character. A variable name in x
type
character. Cartogram type, only "nc" (non-contiguous) is currently supported