tadaa_balance: Grouping design balance

Description Usage Arguments Value See Also Examples

View source: R/tadaa_plots.R

Description

Easily generate heatmaps to show how well balanced groups are designed, e.g. for ANOVA.

Usage

1
tadaa_balance(data, group1, group2, palette = "D", annotate = TRUE)

Arguments

data

A data.frame

group1

The grouping variable on the x-axis

group2

The grouping variable on the y-axis

palette

The viridis::viridis color palette to use; c("A", "B", "C", "D"), defaults to "D"

annotate

Should the n of each group be displayed in each cell of the heatmap?

Value

A ggplot2 object

See Also

Other Tadaa-plot functions: tadaa_int(), tadaa_mean_ci(), tadaa_plot_tukey()

Examples

1
tadaa_balance(ngo, jahrgang, geschl)

tadaatoolbox documentation built on July 2, 2020, 2:30 a.m.