Primary functions

Main functions to use from ggstatsplot.

ggbarstats()

Bar (column) charts with statistical tests

ggbetweenstats()

Box/Violin plots for group or condition comparisons in between-subjects designs.

ggcoefstats()

Dot-and-whisker plots for regression analyses

ggcorrmat()

Visualization of a correlation matrix

ggdotplotstats()

Dot plot/chart for labeled numeric data.

gghistostats()

Histogram for distribution of a numeric variable

ggpiestats()

Pie charts with statistical tests

ggscatterstats()

Scatterplot with marginal distributions and statistical results

ggstatsplot-package

ggstatsplot: 'ggplot2' Based Plots with Statistical Details

ggwithinstats()

Box/Violin plots for group or condition comparisons in within-subjects (or repeated measures) designs.

Grouped variants of primary functions

Convenience functions to run the main functions repeatedly across all levels of a single grouping variable.

grouped_ggbarstats()

Grouped bar (column) charts with statistical tests

grouped_ggbetweenstats()

Violin plots for group or condition comparisons in between-subjects designs repeated across all levels of a grouping variable.

grouped_ggcorrmat()

Visualization of a correlalogram (or correlation matrix) for all levels of a grouping variable

grouped_ggdotplotstats()

Grouped histograms for distribution of a labeled numeric variable

grouped_gghistostats()

Grouped histograms for distribution of a numeric variable

grouped_ggpiestats()

Grouped pie charts with statistical tests

grouped_ggscatterstats()

Scatterplot with marginal distributions for all levels of a grouping variable

grouped_ggwithinstats()

Violin plots for group or condition comparisons in within-subjects designs repeated across all levels of a grouping variable.

Reexported functions

Useful functions re-exported from other packages.

reexports

Objects exported from other packages

Graphics helper functions

The ggplot2 themes and other graphics-related helpers in ggstatsplot.

theme_ggstatsplot() theme_corrmat() theme_pie()

Default theme used in all ggstatsplot package plots

combine_plots()

Combining and arranging multiple plots in a grid

combine_plots2()

Simpler way to combine and arrange multiple plots in a grid

Data

Datasets included in the package.

movies_wide

Movie information and user ratings from IMDB.com (wide format).

movies_long

Movie information and user ratings from IMDB.com (long format).

Titanic_full

Titanic dataset.

iris_long

Edgar Anderson's Iris Data in long format.

VR_dilemma

Virtual reality moral dilemmas.

bugs_wide

Wide-format version of the "Bugs" dataset.

bugs_long

Tidy version of the "Bugs" dataset.