Construct collection of pattern specifications for tableplot
make.patterns(
n = NULL,
shape = 0,
shape.col = "black",
shape.lty = 1,
cell.fill = "white",
back.fill = "white",
label = 0,
label.size = 0.7,
ref.col = "gray80",
ref.grid = FALSE,
scale.max = 1,
as.data.frame = FALSE
)
Returns either a data.frame of a list. If a data.frame, the pattern specifications appear as columns
Number of patterns
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)
Outline line type(s) for the shape(s)
inside color of |smallest| shape in a cell
background color of cell
how many cell values will be labeled in the cell; max is 4
size of cell label(s)
color of reference lines
whether to draw ref lines in the cells or not
scale values to this maximum
whether to return a data.frame or a list.