grobMatrix {ggplot2} | R Documentation |
Build a matrix of grobs given a vector of grobs and the desired dimensions of the matrix
grobMatrix(vec, nrow, ncol, as.table = FALSE)
vec |
vector of grobs |
nrow |
number of rows |
ncol |
number of columns |
as.table |
should the matrix be arranged like a table or a plot |
Any missing cells at the end will be filled in with nullGrobs.
Hadley Wickham <h.wickham@gmail.com>