Description Usage Arguments Value Author(s)
View source: R/draw_table_extra.R
Compute the width and height in user-specified unit required for drawing the plot.
1 2 3 4 5 6 7 8 9 10 11 12 |
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. |
theme |
a list of theme parameters. Use an instance of |
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. |
unit |
(optional) choose any unit that is valid for |
dscale_title_legend |
(optional) title for the colorbar providing a legend for scales. |
dcolor_title_legend |
(optional) title for the colorbar providing a legend for colors |
margin_x |
(optional) use it to fine-tune the width of the plot if some elements are not displayed correctly. |
margin_y |
(optional) use it to fine-tune the height of the plot if some elements are not displayed correctly. |
a list with dimensions of the global plot and of parts of the plot.
Yoann Pradat
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.