tabylstuff: A set of functions to 'adorn' and format janitor::tabyl()...

View source: R/adorn_tabyls.R

tabylstuffR Documentation

A set of functions to 'adorn' and format janitor::tabyl() table objects

Description

tabylstuff is a function that puts totals for row and column, formats rows with 1 digit percentages, adds "N" counts, makes it a kable with a caption, and styles the kable tabylstuff_nocol is like tabylstuff but without column totals adornme adds a title and does some other things differently, but I'm not sure what. This may be mostly redundant adornme_not is adornme without a title

Usage

tabylstuff(df, cap = "")

Arguments

df

is a 'tabyl' style tibble

cap

is a caption text (quoted string)

digits

(in adornme and adornme_not) lets you specify the digits in the percentage

adorn

(in adornme and adornme_not) lets you specify whether row or column will be made into percentages ... not sure this actually makes sense!

Details

XXX This function does nothing. It relies on no packages

Examples

 XXX nothing(mtcars)

rethinkpriorities/rp-r-package documentation built on Jan. 7, 2023, 10:11 p.m.