adorn_everything: Adorn Everything

Description Usage Arguments Value Examples

View source: R/janitor_custom_functions.R

Description

\lifecycle

experimental Adorn percentages, percent formatting, and ns to a janitor::tabyl() with better percents

Usage

1
adorn_everything(dat, pct_direction = "col")

Arguments

pct_direction

Should the cell percentages use the "col" or "row" totals as denominator. Defaults to "col".

Value

tabyl with percents, percent formatting, ns, and better total percents.

Examples

1
2
3
4
## Not run: 
mtcars %>% tabyl(cyl, gear) %>% adorn_everything(pct_direction = "col")

## End(Not run)

Sorenson-Impact/sorensonimpact documentation built on Nov. 6, 2021, 4:25 a.m.