Description Usage Arguments Value Examples
View source: R/janitor_custom_functions.R
experimental
Adorn percentages, percent formatting, and ns to a janitor::tabyl()
with better percents
1 | adorn_everything(dat, pct_direction = "col")
|
pct_direction |
Should the cell percentages use the "col" or "row" totals as denominator. Defaults to "col". |
tabyl with percents, percent formatting, ns, and better total percents.
1 2 3 4 | ## Not run:
mtcars %>% tabyl(cyl, gear) %>% adorn_everything(pct_direction = "col")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.