Skip to contents

Hypothesis about group differences

ggbetweenstats()
Box/Violin plots for between-subjects comparisons
ggwithinstats()
Box/Violin plots for repeated measures comparisons
gghistostats()
Histogram for distribution of a numeric variable
ggdotplotstats()
Dot plot/chart for labeled numeric data.

Hypothesis about correlation

ggscatterstats()
Scatterplot with marginal distributions and statistical results
ggcorrmat()
Visualization of a correlation matrix

Hypothesis about composition of categorical variables

ggpiestats()
Pie charts with statistical tests
ggbarstats()
Stacked bar charts with statistical tests

Hypothesis about regression coefficients

ggcoefstats()
Dot-and-whisker plots for regression analyses

Grouped variants of primary functions

Convenience functions to repeat analysis across a single grouping

grouped_ggbarstats()
Grouped bar 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.

Helper functions

Statistics and graphics-related helpers

reexports %>% pairwise_comparisons
Objects exported from other packages
extract_stats() extract_subtitle() extract_caption()
Extracting data frames or expressions from ggstatsplot plots
theme_ggstatsplot()
Default theme used in ggstatsplot
combine_plots()
Combining and arranging multiple plots in a grid

Data

Datasets included in the package.

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.
bugs_wide
Wide-format version of the "Bugs" dataset.
bugs_long
Tidy version of the "Bugs" dataset.