tab_chi2 {tabxplor} | R Documentation |
Add Chi2 summaries to a tab
Description
Add Chi2 summaries to a tab
Usage
tab_chi2(
tabs,
calc = c("ctr", "p", "var", "counts"),
comp = NULL,
color = c("no", "auto", "all", "all_pct")
)
Arguments
tabs |
|
calc |
By default all elements of the Chi2 summary are calculated :
contributions to variance, pvalue, variance and unweighted count. You can choose which
are computed by selecting elements in the vector |
comp |
Comparison level. When |
color |
The type of colors to print, as a single string.
|
Value
A tibble
of class tab
, with Chi2 summaries as metadata,
possibly colored based on contributions of cells to variance.