cross_table | R Documentation |
gmodels::CrossTable
with better defaultsDefaults to not including any of the proportions that clutter the table.
cross_table(
x,
y,
digits = 3,
max.width = 5,
expected = FALSE,
prop.r = FALSE,
prop.c = FALSE,
prop.t = FALSE,
prop.chisq = FALSE,
chisq = FALSE,
fisher = FALSE,
mcnemar = FALSE,
resid = FALSE,
sresid = FALSE,
asresid = FALSE,
missing.include = FALSE,
format = c("SAS", "SPSS"),
dnn = NULL,
...
)
Copied from the gmodels
source on 01/21/2017.
Use ?gmodels::CrossTable
to see arguments and examples.
cross_table(mtcars$cyl, mtcars$gear)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.