Learn R Programming

recmap (version 1.0.17)

plot.recmap: Plot 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", ...)

Value

graphical output

Arguments

x

recmap object - can be input or output of recmap.

col

a vector of colors.

col.text

a vector of colors.

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'.

...

whatsoever

Examples

Run this code
checkerboard(2) |> recmap() |> plot()

Run the code above in your browser using DataLab