Skip to content

Construction

gtable()
Create a new grob table.
gtable_matrix()
Create a gtable from a matrix of grobs.
gtable_col()
Create a single column gtable
gtable_row()
Create a single row gtable.
gtable_row_spacer() gtable_col_spacer()
Create a row/col spacer gtable.
as.gtable()
Convert to a gtable

Modification

gtable_add_grob()
Add a single grob, possibly spanning multiple rows or columns.
gtable_add_cols()
Add new columns in specified position.
gtable_add_rows()
Add new rows in specified position.
gtable_add_padding()
Add padding around edges of table.
gtable_add_col_space() gtable_add_row_space()
Add row/column spacing.
gtable_trim()
Trim off empty cells.
gtable_filter()
Filter cells by name

Combining

rbind(<gtable>) cbind(<gtable>)
Row and column binding for gtables.

Inspection

is.gtable()
Is this a gtable?
print(<gtable>)
Print a gtable object
gtable_show_layout()
Visualise the layout of a gtable.
gtable_height()
Returns the height of a gtable, in the gtable's units
gtable_width()
Returns the width of a gtable, in the gtable's units