The Wayback Machine - https://web.archive.org/web/20200918090205/https://github.com/topics/tidyverse
Skip to content
#

tidyverse

Here are 477 public repositories matching this topic...

sfd99
sfd99 commented Apr 7, 2020

GREAT, Sam!
janitor is wonderful.

btw:
a shortcut to get Total Sums
for BOTH rows AND cols:

mtcars %>%
tabyl(am, cyl) %>%
adorn_totals(c("row", "col"))
am 4 6 8 Total
0 3 4 12 19
1 8 3 2 13
Total 11 7 14 32

So,
(easy) SUGGESTION -
also allow keyword:
"both"
as param to:
adorn_totals("both")
or maybe simply:
adorn_totals()

less coding...easier...

Improve this page

Add a description, image, and links to the tidyverse topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the tidyverse topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.