It looks like grid.arrange()
ignores the name
attribute of tableGrob
. Let's say I want to plot tables with titles...
baz<-lapply(seq(3),function(ii)
tableGrob(format(matrix(runif(8),nrow=2,
dimnames=list(LETTERS[1:2],letters[1:4])),digits=3),
name=paste0('n',ii)));
This plots them but without titles: do.call(grid.arrange,c(baz,nrow=1))
It seems like overkill to screw around with creating lists of textGrobs, calculating their height, etc. I just want to force there to be an extra line above the header of each table, displaying the name I gave to that table. Or some built-in argument to do so.