tab_kable {tabxplor} | R Documentation |
Print a tabxplor table in html
Description
Print a tabxplor table in html
Usage
tab_kable(
tabs,
theme = c("light", "dark"),
color_type = NULL,
html_24_bit = NULL,
tooltips = TRUE,
popover = NULL,
color_legend = TRUE,
caption = NULL,
...
)
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
|
tooltips |
By default, html tooltips are used to display additional informations
at mouse hover. Set to |
popover |
By default, takes |
color_legend |
Print colors legend below the table ?
You can then use a |
caption |
The table caption. For formatting, you need to use a |
... |
Other arguments to pass to |
Value
A html table (opened in the viewer in RStudio). Differences from totals, confidence intervals, contribution to variance, and unweighted counts, are available in an html tooltip at cells hover.
Examples
tabs <- tab(forcats::gss_cat, race, marital, year, pct = "row", color = "diff")
tab_kable(tabs, theme = "light", color_type = "text")