Description Usage Arguments Value Author(s) See Also
Draws a graphic representing one or more values for one cell in a tableplot using shapes whose size is proportional to the cell values.
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")
|
cell |
Value(s) to be depicted in the table cell |
shape |
Shape(s) used to encode the numerical value of |
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 |
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 |
No value is returned
Ernest Kwan
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.