tadaatoolbox v0.16.0


Monthly downloads



Helpers for Data Analysis and Presentation Focused on Undergrad Psychology

Contains functions for the easy display of statistical tests as well as some convenience functions for data cleanup. It is meant to ease existing workflows with packages like 'sjPlot', 'dplyr', and 'ggplot2'. The primary components are the functions prefixed with 'tadaa_', which are built to work in an interactive environment, but also print tidy markdown tables powered by 'pixiedust' for the creation of 'RMarkdown' reports.



Build Status CRAN\_Status\_Badge CRAN\_Downloads\_Badge CRAN\_Downloads\_Badge

This is tadaatoolbox version 0.15.9000 (semver(ish)).
It contains helpers for data analysis and presentation focused on undergrad psychology, the target audience being students at University of Bremen.

Please consider this as a teaching project and be careful if you intend to use it for production use.
To see what's new, see NEWS.md. Also, since this project is still in the 0.x.y version, you should expect the API to change at any time. Once we reach 1.0.0, API changes will be rolled out more slowly and include depracation warnings. In the meantime, the package is available on CRAN primarily for convenience, because its target audience is likely not familiar with GitHub or devtools.


Install the current development version from GitHub (recommended):

if (!("devtools" %in% installed.packages())){


Or install the most recent stable version from CRAN:



Please do! I have no idea where I'm going with this. Feel free to open issues.


Contributer Role
Lukas Burk Author & Creator
Tobias Anton Author
Daniel Lüdecke Contributor


See the included vignette for a demonstration: browseVignettes("tadaatoolbox") or view the pkgdowned version of this repo.

Tidy test output

  • tadaa_aov: For aov with included partial η2 and Cohen's f.
  • tadaa_kruskal: A wrapper for kruskal.test tidied and optionally pixiedusted.
  • tadaa_t.test: For t.test with automatic homogenity of variance detection, effect size and power.
  • tadaa_wilcoxon: A wrapper for wilcox.test tidied and optionally pixiedusted.
  • tadaa_levene: Wrapper for car::leveneTest tidied and optionally pixiedusted.
  • tadaa_normtest lets you do tests for normality (4 methods) over multiple variables.
  • tadaa_pairwise_t, tadaa_pairwise_gh and tadaa_pairwise_tukey for various pairwise procedures.

Statistical functions

  • modus: A simple function to extract the mode of a frequency table
  • nom_chisqu: Simple wrapper for chisq.test that produces a single value.
  • nom_phi: Simple wrapper for vcd::assocstats to extract phi.
  • nom_v: Simple wrapper for vcd::assocstats to extract Cramer's V.
  • nom_c: Simple wrapper for vcd::assocstats to extract the contingency coefficient c.
  • nom_lambda: Simple wrapper for ryouready::nom.lambda to extract appropriate lambda.
  • ord_gamma: Simple wrapper for ryouready::ord.gamma.
  • ord_somers_d: Simple wrapper for ryouready::ord.somers.d.


  • tadaa_nom: All the nominal stats in one table.
  • tadaa_ord: All the ordinal stats in one table.

Misc. helpers

  • generate_recodes: To produce recode assignments for car::recode for evenly sequenced clusters.
  • interval_labels: To produce labels for clusters created by cut.
  • delete_na: Customizable way to drop NA observations from a dataset.
  • pval_string: Shamelessly adapted from pixiedust::pvalString, this will format a p-value as a character string in common p < 0.001 notation and so on. The difference from the pixiedust version is that this function will also print p < 0.05.

Helpers for plots

CI calculators

  • mean_ci_t: Returns a data.frame with y (mean), ymin and ymax for the CI bounds.
    • confint_t: For the underlying function to get the CI width. Returns a single value.
    • confint_norm: Similar, but baes on normal distribution. Returns a single value.
  • mean_ci_sem: Standard error and CI, you guessed it, in one table.

Plotting templates

  • tadaa_int: Simple interaction plot template.
  • tadaa_balance: Check equality of group sizes.
  • tadaa_mean_ci: Plots means with 95% confidence intervals as errorbars.
  • tadaa_plot_tukey: For pretty TukeyHSD visualization.


I rely on these awesome package for all the things this package does, so you might want to consider checking them out.

  • stats, methods, broom, magrittr, pwr, pixiedust, car, ggplot2, nortest, lsr
  • viridis, DescTools

Code of Conduct

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

Functions in tadaatoolbox

Name Description
mean_ci_t Get mean and CI for a numeric vector
modus Modus
effect_size_t Simple Effect Size Calculation for t-Tests
etasq Just eta^2.
ngo The ngo dataset
nom_c Contingency Coefficient C
tadaa_int Interaction plots
tadaa_kruskal Tadaa, Kruskal-Wallis!
tadaa_t.test Tadaa, t-Test!
tadaa_wilcoxon Tadaa, Wilcoxon!
interval_labels Convenience functions for interval recodes
mean_ci_sem Standard Error of the Mean with CI
nom_chisqu Simple Chi^2
nom_lambda Lambda
tadaa_nom Get all the nominal stats
games_howell Games Howell post-hoc procedure
generate_recodes Convenience functions for interval recodes
tadaa_normtest Tadaa, test for normality!
tadaatoolbox-package tadaatoolbox: Helpers for Data Analysis and Presentation Focused on Undergrad Psychology
theme_readthedown ggplot2 theme to fit the readthedown Rmd format
tadaa_levene Levene's Test for Homoskedasticity
tadaa_mean_ci Plot Means with Errorbars
z Convert numeric vector to z-values
confint_t Confidence Intervals
delete_na Delete cases with set amount of missing values
nom_phi Phi coefficient
nom_v Cramer's V
sidak_sd Sidak setp-down procedure
tadaa_aov Tadaa, ANOVA!
ord_somers_d Somers' D
ord_tau Various Tau Statistics
tadaa_balance Grouping design balance
tadaa_one_sample Tadaa, one-sample tests!
tadaa_ord Get all the ordinal stats
tadaa_chisq Tadaa, Chi-Square Test!
tadaa_pairwise_tukey Tukey HSD pairwise comparisons
tadaa_plot_tukey Plot TukeyHSD Results as Errorbars
ord_gamma Gamma
ord_pairs Retrieve all type of pairs for ordinal statistics
pval_string Easy p-value formatting
reexports Objects exported from other packages
tadaa_pairwise_gh Games Howell Post-Hoc Test
tadaa_pairwise_t Extended Pairwise t-Tests
No Results!

Vignettes of tadaatoolbox

No Results!

Last month downloads


Type Package
Date 2018-01-10
License MIT + file LICENSE
LazyData TRUE
Encoding UTF-8
RoxygenNote 6.0.1
URL https://github.com/tadaadata/tadaatoolbox
BugReports https://github.com/tadaadata/tadaatoolbox/issues
VignetteBuilder knitr
NeedsCompilation no
Packaged 2018-01-10 18:58:05 UTC; Lukas
Repository CRAN
Date/Publication 2018-01-10 19:12:48 UTC

Include our badge in your README