search for: gcells

Displaying 1 result from an estimated 1 matches for "gcells".

Did you mean: cells
2009 Sep 19
1
matrix operations on grobs and grid units
...# list of grobs wg <- lapply(lg, grobWidth) # list of grob widths hg <- lapply(lg, grobHeight) # list of grob heights widths.all <- do.call(unit.c, wg) heights.all <- do.call(unit.c, hg) widths <- colMax.units(widths.all, ncol) heights <- rowMax.units(heights.all, nrow) gcells = frameGrob(name="table.cells", vp = "cells", layout = grid.layout(nrow, ncol, just=just, widths = widths, heights = heights) ) label.ind <- 1 # index running for the vector of labels for (ii...