Just a handful of functions that are useful to me! Chances are I won't be removing any of them from here but this isn't a "stable" R package by any means...
ggplot_colors()
displays the hex codes and physical appearance of the standardggplot2
color scheme forn
groups.
-
weighted_tabyl()
is a weighted data version ofjanitor::tabyl()
. -
weighted_crosstab()
is a one-liner for some common crosstab machinations done usingjanitor
.
-
writer()
writes lines to an output text file. -
chunk_wrapper()
wrapswriter()
to include the standard R chunk notation and options.
secret_chunk_wrapper()
is a version of chunk_wrapper()
with the defaults to fully hide a chunk (warning
, message
, include
, error
, echo
are all FALSE
).
-
not.null()
negatesis.null()
. -
not.na()
negatesis.na()
. -
The infix
%notin%
negates%in%
.
read_batch()
usesdata.table::fread()
to read multiple files in the same folder (or zip archive) in one step.