Primary functions

Main functions to use from ggstatsplot.

ggbetweenstats()

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

ggcoefstats()

Model coefficients for fitted models with the model summary as a caption.

ggcorrmat()

Visualization of a correlalogram (or 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

ggstatsplot-package

ggstatsplot: 'ggplot2' Based Plots with Statistical Details

combine_plots()

Combining and arranging multiple plots in a grid

Grouped variants of primary functions

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

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

Helper functions for preparing statistics subtitles

Functions used to create statistical subtitles that can be used outside of ggstatsplot package.

subtitle_anova_bayes()

Making text subtitle for the between-subject one-way anova designs.

subtitle_anova_parametric()

Making text subtitle for the between-subject anova designs.

subtitle_anova_robust()

Making text subtitle for the robust ANOVA (between-subjects designs).

subtitle_contingency_tab()

Making text subtitle for contingency analysis (Pearson's chi-square test for independence for between-subjects design or McNemar's test for within-subjects design)

subtitle_friedman_nonparametric()

Making text subtitle for the Friedman Rank Sum Test (nonparametric ANOVA) (within-subjects designs).

subtitle_ggscatterstats()

Making text subtitle for the correlation test.

subtitle_kw_nonparametric()

Making text subtitle for the Kruskal-Wallis test (nonparametric ANOVA) (between-subjects designs).

subtitle_mann_nonparametric() subtitle_t_nonparametric()

Making text subtitle for the Mann-Whitney U-test (between-/within-subjects designs).

subtitle_meta_ggcoefstats()

Prepare subtitle with meta-analysis results

subtitle_onesample_proptest()

Making text subtitle for Proportion Test (N Outcomes), a chi-squared Goodness of fit test.

subtitle_t_bayes()

Making text subtitle for the bayesian t-test.

subtitle_t_onesample()

Making text subtitle for one sample t-test and its nonparametric and robust equivalents.

subtitle_t_parametric()

Making text subtitle for the t-test (between-/within-subjects designs).

subtitle_t_robust()

Making text subtitle for the robust t-test (between- and within-subjects designs).

pairwise_p()

Pairwise comparison tests

Helper functions for preparing Bayes Factor captions

Functions used to create Bayes Factor (in favor of null) captions that can be used outside of ggstatsplot package.

bf_caption_maker()

Prepare caption with bayes factor in favor of null

bf_contingency_tab()

Bayesian contingency table analysis.

bf_corr_test()

Bayesian correlation test.

bf_extractor()

Convenience function to extract bayes factors and details about posterior (mean, median, HDI, etc.) from BayesFactor model object.

bf_oneway_anova()

Bayesian one-way analysis of variance.

bf_one_sample_ttest()

Bayesian one-sample t-test.

bf_two_sample_ttest()

Bayesian two-samples t-test.

Reexported functions

Useful functions re-exported from other packages.

reexports

Objects exported from other packages

Helper functions (messages)

Simple function to display messages from tests carried out to check statistical assumptions of tests.

bartlett_message()

Display homogeneity of variance test as a message

normality_message()

Display normality test result as a message.

Themes used

The ggplot2 themes used as default in ggstatsplot.

theme_corrmat()

Default theme used for correlation matrix

theme_ggstatsplot() theme_mprl()

Default theme used in all ggstatsplot package plots

theme_pie()

Default theme used for pie chart

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.

intent_morality

Moral judgments about third-party moral behavior.

iris_long

Edgar Anderson's Iris Data in long format.