tidyxtab | R Documentation |
Use janitor::tabyl and various adorn_
-functions to create a tidy crosstab.
tidyxtab(data, x, y, row_name = deparse(x), col_name = deparse(y))
data |
A |
x |
The row-variable |
y |
The column-variable |
row_name , col_name |
Passed to janitor::adorn_title. |
A janitor::tabyl
tidyxtab(mtcars, carb, gear)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.