Learn R Programming

recmap (version 0.2.1)

plot_recmap: The graphical representation of recmap

Description

plots the rectangular map regions.

Usage

plot_recmap(S, col='#00000011', col.text = 'grey', ...)

Arguments

S
a data.frame can be input or output of recmap.
col
a vector of colors.
col.text
a vector of colors.
...
whatsoever

Value

  • graphical output

See Also

?recmap or vignette("recmap")

Examples

Run this code
Cartogram <- recmap(Map <- recmap:::.checker_board(2))

plot_recmap(Map)
plot_recmap(Cartogram)

Run the code above in your browser using DataLab