Displaying 1 result from an estimated 1 matches for "cellgrams".
Did you mean:
cellgram
2009 Aug 17
1
help simplifying complex graphic arguments to a function
...pattern designations (i.e., what pattern
for each cell).
# patterns, # List of lists; each list specifies one pattern.
patterns = list(list(0, "black", 1, "white", "white", 0, 0.5,
"grey80", "no", 1)),
...){
#
#---Draw cellgrams.
for (i in 1:dim(values)[1]){
for (j in 1:dim(values)[2]){
pattern = patterns[[types[i,j]]]
cellgram(cell = values[i,j,],
shape = pattern[[1]],
shape.col = pattern[[2]],
shape.lty = pattern[[3]...