Learn R Programming

recmap (version 0.5.0)

plot_recmap: recmap Plot Function

Description

plots input and output of the recmap function. The function requires column names (x, y, dx, dy).

Usage

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

Arguments

S
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:::.checkerboard(2))

plot_recmap(Map)
plot_recmap(Cartogram)

Run the code above in your browser using DataLab