cgImage: Plot a binary representation of a matrix.

Description Usage Arguments Value Author(s) Examples

View source: R/cgImage.R

Description

Generates an "image" of the input matrix in binary form.

Usage

1
cgImage(x, xlab = "", ylab = "", col = c(0, 1))

Arguments

x

Matrix to be plotted.

xlab

Label for the x-axis.

ylab

Label for the y-axis.

col

Vector of length two defining the two levels of color in the plot.

Value

Plot.

Author(s)

Matthew K. Lau

Examples

1
2
3
4
5
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as

ECGen/ComGenR documentation built on July 23, 2021, 11:44 p.m.