tadaa_plot_tukey

0th

Percentile

Plot TukeyHSD Results as Errorbars

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.

Note

The alpha of the error bars is set to 0.25 if the comparison is not significant, and 1 otherwise. That's neat.

See Also

Other Tadaa-plot functions: tadaa_balance, tadaa_int, tadaa_mean_ci

Aliases
  • tadaa_plot_tukey
Examples
# NOT RUN {
tests <- tadaa_pairwise_tukey(data = ngo, deutsch, jahrgang, geschl, print = "df")
tadaa_plot_tukey(tests)
# }
Documentation reproduced from package tadaatoolbox, version 0.16.0, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.