cellgram: Draw one cell in a tableplot

Description Usage Arguments Value Author(s) See Also

Description

Draws a graphic representing one or more values for one cell in a tableplot using shapes whose size is proportional to the cell values.

Usage

1
cellgram(cell, shape = 0, shape.col = "black", shape.lty = 1, shape.neg = 0, shape.col.neg = "red", shape.lty.neg = 1, cell.fill = "white", back.fill = "white", label = 0, label.size = 0.7, label.col = "black", ref.lines = FALSE, ref.col = "grey80", scale.max = 1, shape.lwd = 1, frame.col = "black", frame.lwd = "0.5")

Arguments

cell

Value(s) to be depicted in the table cell

shape

Shape(s) used to encode the numerical value of cell. Any of 0="circle", 1="diamond", 2="square", 3="cross"

shape.col

Outline color(s) for the shape(s)

shape.lty

Outline color(s) for the shape(s)

shape.neg

Shape(s) used to encode negative values in cell. Any of 0="circle", 1="diamond", 2="square", 3="cross"

shape.col.neg
shape.lty.neg
cell.fill

inside color of |smallest| shape in a cell

back.fill

background color of cell

label

how many cell values will be printed; max is 4

label.size

size of cell label(s)

label.col

color of cell label(s)

ref.lines

whether to draw ref lines or not

ref.col

color of reference lines

scale.max
shape.lwd

Width of line used to draw the shape(s)

frame.col

color of frame around cell

frame.lwd

line width of frame around cell

Value

No value is returned

Author(s)

Ernest Kwan

See Also

tableplot


friendly/tableplot documentation built on May 16, 2019, 3:30 p.m.