Skip to contents

Hypothesis about group differences

ggbetweenstats()
Box/Violin plots for between-subjects comparisons
ggwithinstats()
Box/Violin plots for within-subjects (or 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()
Bar (column) charts with statistical tests

Hypothesis about regression coefficients

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

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 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

Helper functions

Statistics and graphics-related helpers in ggstatsplot

pairwise_comparisons()
Multiple pairwise comparison tests with tidy data
extract_stats()
Extracting dataframes with statistical details from ggstatsplot
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.

Package information

ggstatsplot-package
ggstatsplot: 'ggplot2' Based Plots with Statistical Details