imageColorscale: if you need an colorscale to you imagelables use this

Description Usage Arguments Examples

View source: R/imageWithLabels.R

Description

if you need an colorscale to you imagelables use this

Usage

1
2
imageColorscale(x, cex = 1, cex.axis = 0.5, col = heat.colors(12),
  digits = 2, zlim = NULL, breaks)

Arguments

x

data the data matrix

cex

cex

cex.axis

cex.axis

col

colors used

digits

number of digits on color scale, default 2

zlim

zlim

breaks

optional argument passed to image (see image for more details)

Examples

1
2
3
4
5
6
x = matrix(rnorm(20*30, 5),ncol=20)
rownames(x) <- 1:30
colnames(x) <- letters[1:20]
imageColorscale(x)
imageColorscale(x,col=getBlueWhiteRed(), zlim=c(-1,1))
imageColorscale(x,col=getBlueWhiteRed(), zlim=c(-5,5))

quantable documentation built on May 2, 2019, 4:05 p.m.