ggstatsplot` is an extension of the `ggplot2` package for creating graphics with details from statistical tests included in the plots themselves and targeted primarily at behavioral sciences community to provide a one-line code to produce information-rich plots, which can either be used for quick data exploration or for publications/reports/notebooks/etc:
https://cran.r-project.org/…/packages/ggstatsplot/index.html
Currently, it supports only the most common types of statistical tests (parametric, nonparametric, and robust versions of t-tets/ANOVA, correlation, and contingency tables analyses):
– violin plots (for comparisons *between* groups or conditions),
– pie charts (for categorical data),
– scatterplots (for correlations between two variables),
– correlation matrices (for correlations between multiple variables),
– histograms (for hypotheses about distributions), and
– dot-and-whisker plots (for regression models).
In addition to these basic functions, `ggstatsplot` also provides `grouped_` versions of all functions that make it easy to repeat the same analysis for any grouping variable.
Each function has its dedicated vignette to illustrate its usage:
https://cran.r-project.org/…/packages/ggstatsplot/vignettes/
Future versions will include other types of analyses (e.g. within-subjects) and plots as well.
Laisser un commentaire