plotMatrix: Plot matrix as heat map

Description Usage Arguments Value Author(s) See Also Examples

Description

Plots a matrix as a heat map/image with the correct positions. Simply a wrapper for image. It flips and transposes the matrix in image it as it is printed. Good for visualizing large matrices.

Usage

1

Arguments

x

A matrix to plot.

...

Arguments passed to image.

Value

Invisibly returns the output of image.

Author(s)

Anders Ellern Bilgrau

See Also

image

Examples

1
2
3
4
5
y <- matrix(rnorm(200), 20, 10)
plotMatrix(y)

z <- matrix(seq_len(200), 20, 10)
plotMatrix(z)

AEBilgrau/Bmisc documentation built on May 5, 2019, 11:28 a.m.