View source: R/zz-api-ggplot-utils.R
gg_formatted_table | R Documentation |
This is useful if you want to combine a formatted table with a plot in a multi-panel patchwork.
gg_formatted_table(
longFormatTable,
colWidths = NULL,
tableWidthInches = 5.9,
font = "Roboto",
...
)
longFormatTable |
a table - usually converted using as.long_format_table() |
colWidths |
(optional) the relative widths of the columns. |
tableWidthInches |
the maximum desired width of the plot. Text will be scaled to fit this width. |
font |
the default font family |
... |
passed to as.long_format_table if and only if the input is not already in that format. |
a ggplot object containing the table as a ggplot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.