leonardblaschek/tukeygrps: Statistical Letter Codes for Plot Annotation

This is a simple helper package that outputs a data frame that can be used to annotate your plot with letter codes according to significant differences between groups. It provides functions for the parametric Tukey HSD and the non-parametric Kruskal-Wallis tests. In addition to the data and formula, the functions take as input a positional variable for placement on the plot, an alpha for the statistical test, and grouping variables for faceted plots, as well as the method for p-value adjustment in the case of the Kruskal-Wallis test.

Getting started

Package details

Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
leonardblaschek/tukeygrps documentation built on Nov. 5, 2019, 7:12 p.m.