Draws a graphic representing one or more values for one cell in a tableplot, using shapes whose size is proportional to the cell values and other visual attributes (outline color, fill color, outline line type, ...). Several values can be shown in a cell, using different proportional shapes.
cellgram(
cell,
shape = 0,
shape.col = "black",
shape.lty = 1,
cell.fill = "white",
back.fill = "white",
label = 0,
label.size = 0.7,
ref.col = "grey80",
ref.grid = FALSE,
scale.max = 1,
shape.name = ""
)
None. Used for its graphic side effect
Numeric value(s) to be depicted in the table cell
Integer(s) or character string(s) specifying the shape(s) used to encode the numerical value of
cell
.
Any of 0="circle", 1="diamond", 2="square"
. Recycled to match the number of values
in the cell.
Outline color(s) for the shape(s). Recycled to match the number of values in the cell.
Outline line type(s) for the shape(s). Recycled to match the number of values in the cell.
Inside color of |smallest| shape in a cell
Background color of cell
Number of cell values to be printed in the corners of the cell; max is 4
Character size of cell label(s)
color of reference lines
whether to draw ref lines in the cells or not
scale values to this maximum
character string to uniquely identify shapes to help fill in smallest one