tadaatoolbox (version 0.16.0)

tadaa_plot_tukey: Plot TukeyHSD Results as Errorbars

Description

This is a simple plotting template that takes the broom::tidy'd output of stats::TukeyHSD or alternatively the print = "df" output of tadaa_pairwise_tukey and plots it nicely with error bars.

Usage

tadaa_plot_tukey(data, brewer_palette = "Set1")

Arguments

data

The broom::tidy'd output of stats::TukeyHSD.

brewer_palette

Optional: The name of the RColorBrewer palette to use, defaults to Set1. Use NULL for no brewer palette.

Value

A ggplot2 object.

See Also

Other Tadaa-plot functions: tadaa_balance, tadaa_int, tadaa_mean_ci

Examples

Run this code
# NOT RUN {
tests <- tadaa_pairwise_tukey(data = ngo, deutsch, jahrgang, geschl, print = "df")
tadaa_plot_tukey(tests)
# }

Run the code above in your browser using DataCamp Workspace