plot.recmap: Plot a recmap object.

View source: R/recmap.R

plot.recmapR Documentation

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 class 'recmap'
plot(x, col = "#00000011", col.text = "grey", border = "darkgreen", ...)

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

Value

graphical output

Examples

checkerboard(2) |> recmap() |> plot()

cpanse/recmap documentation built on Jan. 3, 2024, 11:45 p.m.