tab_plot {tabxplor} | R Documentation |
Print a tabxplor table as plot
Description
Print a tabxplor table as plot
Usage
tab_plot(
tabs,
theme = c("light", "dark"),
color_type = NULL,
html_24_bit = NULL,
color_legend = TRUE,
caption = NULL,
wrap_rows = 35,
wrap_cols = 14,
whitespace_only = TRUE
)
Arguments
tabs |
|
theme |
By default, a white table with black text, Set to |
color_type |
Set to |
html_24_bit |
Should specific 24bits colors palettes be used ? Default to
|
color_legend |
Print colors legend below the table ? |
caption |
The table caption. |
wrap_rows |
By default, rownames are wrapped when larger than 30 characters. |
wrap_cols |
By default, colnames are wrapped when larger than 12 characters. |
whitespace_only |
Set to |
Value
A ggplot
object to be printed in the
RStudio
Plots pane or exported as image, using ggtexttable
.
Examples
tab(forcats::gss_cat, race, marital, pct = "row", color = "diff") |>
tab_plot()
[Package tabxplor version 1.2.0 Index]