Overview of ggstatsplot functions and plot types
mainggstatsplot is an extension of {ggplot2} that combines data visualization and statistical modeling into a single step. It produces information-rich plots that include statistical details (test statistics, p-values, effect sizes, etc.) directly within the graphics.
Available Plot Functions
| Function | Plot Type | Description |
|---|---|---|
ggbetweenstats() | violin plots | comparisons between groups/conditions |
ggwithinstats() | violin plots | comparisons within groups/conditions |
gghistostats() | histograms | distribution of a numeric variable |
ggdotplotstats() | dot plots/charts | distribution of a labeled numeric variable |
ggscatterstats() | scatterplots | correlation between two variables |
ggcorrmat() | correlation matrices | correlations between multiple variables |
ggpiestats() | pie charts | categorical data |
ggbarstats() | bar charts | categorical data |
ggcoefstats() | dot-and-whisker plots | regression models and meta-analysis |
Note: The package also provides grouped_ versions of these functions to easily repeat analyses for a grouping variable.