View source: R/justify_gtable.R
justify_gtable | R Documentation |
Correctly justifies a 'gtable' object returned from the 'gridExtra::tableGrob' function.
justify_gtable(x, hjust = "center", vjust = "center", draw = FALSE)
x |
gtable; A gtable returned from 'gridExtra::tableGrob'. |
hjust |
character; Horizontal justification. One of "left", "right", or "center" (default). |
vjust |
character; Vertical justification. One of "left", "right", or "center" (default). |
draw |
boolean; Should the table be drawn? |
This function was provided in https://stackoverflow.com/a/32111143/7454101 by the 'gridExtra' author baptiste.
A 'gtable' object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.