plot.recmap: Prints a recmap object.
Description
plots input and output of the recmap
function.
The function requires column names (x, y, dx, dy).
Usage
# S3 method for recmap
plot(x, col='#00000011', col.text = 'grey', border = 'darkgreen', ...)
Arguments
x
recmap
object - can be input or output of recmap
.
border
This parameter is passed to the rect
function.
color for rectangle border(s). The default means par("fg").
Use border = NA to omit borders. If there are shading lines, border = TRUE
means use the same colour for the border as for the shading lines.
The default value is set to 'darkgreen'
.
See Also
recmap
or vignette("recmap")
Examples
Run this code# NOT RUN {
Cartogram <- recmap(Map <- checkerboard(2))
plot(Map)
plot(Cartogram)
# }
Run the code above in your browser using DataLab