Description Usage Arguments Value Author(s) See Also
The code is inspired by the tableGrob
function gridExtra
.
1 2 3 4 5 6 7 8 9 10 11 12 | gtable_extra(
dscale,
dcolor = NULL,
dscale_min = NULL,
dscale_max = NULL,
rows = rownames(dscale),
cols = colnames(dscale),
rows_more = NULL,
cols_more = NULL,
theme = ttheme_awesome(),
vp = NULL
)
|
dscale |
a matrix containing the values defining the grobs scales. |
dcolor |
(optional) a matrix of size (n,m) containing the values defining the grobs colors. |
dscale_min |
(optional) value for setting the minimum scale size of foreground grobs. Entries in the
|
dscale_max |
(optional) value for setting the maximum scale size of foreground grobs. Entries in the
|
rows |
(optional) a character vector. |
cols |
(optional) a character vector. |
rows_more |
(optional) a named list of additional columns (right-part) of the plot for describing the rows. The list names will be used as column headers. |
cols_more |
(optional) a named list of additional rows (top-part) of the plot for describing the columns The list names will be used as row headers. |
theme |
a list of theme parameters. Use an instance of |
vp |
optional viewport. |
A gtable
object.
Yoann Pradat
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.